diff options
author | wm4 <wm4@nowhere> | 2014-05-04 10:31:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-04 10:31:24 +0200 |
commit | 94441ed13963356fa25f7e52a12e36387220ebba (patch) | |
tree | ae240ca341bf05447b35d5c74dcb8e54e9addb6d /options/options.c | |
parent | f26fe90c8af7fe9d394ab4d000de9d34796ba05c (diff) | |
download | mpv-94441ed13963356fa25f7e52a12e36387220ebba.tar.bz2 mpv-94441ed13963356fa25f7e52a12e36387220ebba.tar.xz |
options: merge ---sub-auto-match with --sub-auto
There's no reason why these should be separate.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/options/options.c b/options/options.c index 21a2f4014d..e589bf8d61 100644 --- a/options/options.c +++ b/options/options.c @@ -407,13 +407,12 @@ const m_option_t mp_opts[] = { OPT_FLOAT("sub-delay", sub_delay, 0), OPT_FLOAT("sub-fps", sub_fps, 0), OPT_FLOAT("sub-speed", sub_speed, 0), - OPT_FLAG("sub-auto", sub_auto, 0), 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_CHOICE("sub-auto-match", sub_match_fuzziness, 0, - ({"exact", 0}, {"fuzzy", 1}, {"all", 2})), + OPT_CHOICE("sub-auto", sub_auto, 0, + ({"no", -1}, {"exact", 0}, {"fuzzy", 1}, {"all", 2})), OPT_INTRANGE("sub-pos", sub_pos, 0, 0, 100), OPT_FLOATRANGE("sub-gauss", sub_gauss, 0, 0.0, 3.0), OPT_FLAG("sub-gray", sub_gray, 0), @@ -717,7 +716,7 @@ const struct MPOpts mp_default_opts = { .playback_speed = 1., .movie_aspect = -1., .field_dominance = -1, - .sub_auto = 1, + .sub_auto = 0, .osd_bar_visible = 1, #if HAVE_LIBASS .ass_enabled = 1, |