summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-14 19:17:31 +0200
committerwm4 <wm4@nowhere>2014-06-14 19:17:31 +0200
commit63266d43720dfce15f89c06f200e9a3350642542 (patch)
treef74d26c2c9a07c8dc9bc65de3e3b11a6ca59eda0 /options/options.c
parenta9fd52e493a411f10e9a5fa0e0e428ef353842ab (diff)
downloadmpv-63266d43720dfce15f89c06f200e9a3350642542.tar.bz2
mpv-63266d43720dfce15f89c06f200e9a3350642542.tar.xz
sub: add --sub-scale-with-window option
Implements the feature requested in #839 and #186.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 4140c10c5a..b03e8738ca 100644
--- a/options/options.c
+++ b/options/options.c
@@ -320,6 +320,7 @@ const m_option_t mp_opts[] = {
({"simple", 0}, {"complex", 1})),
OPT_CHOICE("ass-style-override", ass_style_override, 0,
({"no", 0}, {"yes", 1}, {"force", 3})),
+ OPT_FLAG("sub-scale-with-window", sub_scale_with_window, 0),
OPT_FLAG("osd-bar", osd_bar_visible, 0),
OPT_FLOATRANGE("osd-bar-align-x", osd_bar_align_x, 0, -1.0, +1.0),
OPT_FLOATRANGE("osd-bar-align-y", osd_bar_align_y, 0, -1.0, +1.0),