summaryrefslogtreecommitdiffstats
path: root/sub/sub.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-13 18:53:03 +0200
committerwm4 <wm4@nowhere>2013-04-13 18:53:03 +0200
commitdf8a481eba2316f8171ec0cde4e8e192765aad16 (patch)
treebf1b1895aeeac222e0a0dc3d362cca840e858577 /sub/sub.c
parent3097176ff1b43991ae78990bb06e8c21981e4170 (diff)
downloadmpv-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/sub.c b/sub/sub.c
index b0c9e22d7a..e9496f7853 100644
--- a/sub/sub.c
+++ b/sub/sub.c
@@ -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),