From 09a61ba03ab0918d045d02427ccdc775abc38f03 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 13 Jun 2014 02:06:03 +0200 Subject: options: remove use of an inverted option value Now MPOpts.sub_fix_timing corresponds to the commandline switch directly, instead of storing the inverted value. --- options/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index dfa5106658..5f2ca9687d 100644 --- a/options/options.c +++ b/options/options.c @@ -302,7 +302,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_CONSTANTS("sub-fix-timing", suboverlap_enabled, 0, 1, 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})), OPT_INTRANGE("sub-pos", sub_pos, 0, 0, 100), @@ -617,7 +617,7 @@ const struct MPOpts mp_default_opts = { .ass_style_override = 1, .ass_shaper = 1, .use_embedded_fonts = 1, - .suboverlap_enabled = 0, + .sub_fix_timing = 1, #if HAVE_ENCA .sub_cp = "enca", #else -- cgit v1.2.3