summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-23 15:55:09 +0100
committerwm4 <wm4@nowhere>2017-01-23 15:55:09 +0100
commit00eadcec8d59c3868bade4b3013b05127e75d5a2 (patch)
treee8985aa67252864def53aacbd4b23e2e170d5f98 /options/options.c
parent3e89e061c25e32195677a2c7a239b512cdd3cca9 (diff)
downloadmpv-00eadcec8d59c3868bade4b3013b05127e75d5a2.tar.bz2
mpv-00eadcec8d59c3868bade4b3013b05127e75d5a2.tar.xz
sub: add option to force using video resolution for image subtitles
Basically for debugging and dealing with broken files.
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 71f5d79fa6..ed10299480 100644
--- a/options/options.c
+++ b/options/options.c
@@ -473,6 +473,7 @@ const m_option_t mp_opts[] = {
OPT_FLAG("sub-forced-only", forced_subs_only, UPDATE_OSD),
OPT_FLAG("stretch-dvd-subs", stretch_dvd_subs, UPDATE_OSD),
OPT_FLAG("stretch-image-subs-to-screen", stretch_image_subs, UPDATE_OSD),
+ OPT_FLAG("image-subs-video-resolution", image_subs_video_res, UPDATE_OSD),
OPT_FLAG("sub-fix-timing", sub_fix_timing, 0),
OPT_CHOICE("sub-auto", sub_auto, 0,
({"no", -1}, {"exact", 0}, {"fuzzy", 1}, {"all", 2})),