mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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)},
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user