From 57043d9269527c145f0c3b483cde9e4d4cfc16f9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 18 Jul 2015 14:36:17 +0200 Subject: 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. --- 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 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; -- cgit v1.2.3