summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-18 14:36:17 +0200
committerwm4 <wm4@nowhere>2015-07-18 14:36:17 +0200
commit57043d9269527c145f0c3b483cde9e4d4cfc16f9 (patch)
tree839b3c89ebc598fea4b8a83045c171b2db826eb8 /options
parent55943333379b27f3c19a475b83a001a1cd96946c (diff)
downloadmpv-57043d9269527c145f0c3b483cde9e4d4cfc16f9.tar.bz2
mpv-57043d9269527c145f0c3b483cde9e4d4cfc16f9.tar.xz
sub: add option for stretching image subtitles to screen
Probably makes users happy who want bitmap subtitles to show up in the screen margins, and stops them from doing idiotic crap with vf_expand. Fixes #2098.
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
-rw-r--r--options/options.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 62c9bc2286..db91d66149 100644
--- a/options/options.c
+++ b/options/options.c
@@ -331,6 +331,7 @@ const m_option_t mp_opts[] = {
OPT_FLAG("sub-visibility", sub_visibility, 0),
OPT_FLAG("sub-forced-only", forced_subs_only, 0),
OPT_FLAG("stretch-dvd-subs", stretch_dvd_subs, 0),
+ OPT_FLAG("stretch-image-subs-to-screen", stretch_image_subs, 0),
OPT_FLAG("sub-fix-timing", sub_fix_timing, 0),
OPT_CHOICE("sub-auto", sub_auto, 0,
({"no", -1}, {"exact", 0}, {"fuzzy", 1}, {"all", 2})),
diff --git a/options/options.h b/options/options.h
index b43e28a06f..5d8bd2ea09 100644
--- a/options/options.h
+++ b/options/options.h
@@ -187,6 +187,7 @@ typedef struct MPOpts {
float sub_speed;
int forced_subs_only;
int stretch_dvd_subs;
+ int stretch_image_subs;
int sub_fix_timing;
char *sub_cp;