diff options
author | Dudemanguy <random342@airmail.cc> | 2023-08-28 20:15:49 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-08-29 16:39:00 +0000 |
commit | 9b9475e21809fbb4736b4290c2648900d9c49e2e (patch) | |
tree | bd9e81023fdaae695e3b56db6e2a9112f5ed95ff /options | |
parent | 4009e99b9c8a875e244c908b1f5721bf255966ea (diff) | |
download | mpv-9b9475e21809fbb4736b4290c2648900d9c49e2e.tar.bz2 mpv-9b9475e21809fbb4736b4290c2648900d9c49e2e.tar.xz |
player: rename --sub-forced-only to --sub-forced-events-only
The old name is pretty bad and users mistakenly think it has something
to do with selecting forced subtitles (that would be
--subs-fallback-forced). Instead of giving it such a generic name, make
it clearer that this has to do specifically with forced sub events
which is only relevant for a small minority of subtitles.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 3 | ||||
-rw-r--r-- | options/options.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c index 4f0f4be631..fd242f538b 100644 --- a/options/options.c +++ b/options/options.c @@ -262,7 +262,7 @@ const struct m_sub_options mp_subtitle_sub_opts = { {"sub-speed", OPT_FLOAT(sub_speed)}, {"sub-visibility", OPT_BOOL(sub_visibility)}, {"secondary-sub-visibility", OPT_BOOL(sec_sub_visibility)}, - {"sub-forced-only", OPT_BOOL(forced_subs_only)}, + {"sub-forced-events-only", OPT_BOOL(sub_forced_events_only)}, {"stretch-dvd-subs", OPT_BOOL(stretch_dvd_subs)}, {"stretch-image-subs-to-screen", OPT_BOOL(stretch_image_subs)}, {"image-subs-video-resolution", OPT_BOOL(image_subs_video_res)}, @@ -879,6 +879,7 @@ static const m_option_t mp_opts[] = { {"dvdangle", OPT_REPLACED("dvd-angle")}, {"endpos", OPT_REPLACED("length")}, {"font", OPT_REPLACED("osd-font")}, + {"sub-forced-only", OPT_REPLACED("sub-forced-events-only")}, {"forcedsubsonly", OPT_REPLACED("sub-forced-only")}, {"format", OPT_REPLACED("audio-format")}, {"hardframedrop", OPT_REMOVED(NULL)}, diff --git a/options/options.h b/options/options.h index 1f47732d65..5e46a99b0b 100644 --- a/options/options.h +++ b/options/options.h @@ -83,7 +83,7 @@ struct mp_subtitle_opts { float sub_delay; float sub_fps; float sub_speed; - bool forced_subs_only; + bool sub_forced_events_only; bool stretch_dvd_subs; bool stretch_image_subs; bool image_subs_video_res; |