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.
This commit is contained in:
Dudemanguy
2023-08-28 20:15:49 -05:00
parent 4009e99b9c
commit 9b9475e218
11 changed files with 13 additions and 11 deletions

View File

@@ -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)},

View File

@@ -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;