From 63266d43720dfce15f89c06f200e9a3350642542 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 14 Jun 2014 19:17:31 +0200 Subject: sub: add --sub-scale-with-window option Implements the feature requested in #839 and #186. --- options/options.c | 1 + options/options.h | 1 + 2 files changed, 2 insertions(+) (limited to 'options') 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), diff --git a/options/options.h b/options/options.h index 801ea36ac2..f547675bb6 100644 --- a/options/options.h +++ b/options/options.h @@ -227,6 +227,7 @@ typedef struct MPOpts { int ass_style_override; int ass_hinting; int ass_shaper; + int sub_scale_with_window; int hwdec_api; char *hwdec_codecs; -- cgit v1.2.3