diff options
author | wm4 <wm4@nowhere> | 2013-04-13 18:53:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-13 18:53:03 +0200 |
commit | df8a481eba2316f8171ec0cde4e8e192765aad16 (patch) | |
tree | bf1b1895aeeac222e0a0dc3d362cca840e858577 /sub/sub.c | |
parent | 3097176ff1b43991ae78990bb06e8c21981e4170 (diff) | |
download | mpv-df8a481eba2316f8171ec0cde4e8e192765aad16.tar.bz2 mpv-df8a481eba2316f8171ec0cde4e8e192765aad16.tar.xz |
sub: add --osd-blur and --sub-text-blur options
These require bleeding edge libass (latest git version), and will be
ignored otherwise.
I'm not sure about the blur factor and scaling. The ASS/VSFilter
semantics for blur scaling are a bad mess. Might require further
investigation.
Diffstat (limited to 'sub/sub.c')
-rw-r--r-- | sub/sub.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -79,6 +79,7 @@ const struct m_sub_options osd_style_conf = { OPT_FLOATRANGE("spacing", spacing, 0, -10, 10), OPT_INTRANGE("margin-x", margin_x, 0, 0, 300), OPT_INTRANGE("margin-y", margin_y, 0, 0, 600), + OPT_FLOATRANGE("blur", blur, 0, 0, 20), {0} }, .size = sizeof(struct osd_style_opts), |