summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-08-28 20:15:49 -0500
committerDudemanguy <random342@airmail.cc>2023-08-29 16:39:00 +0000
commit9b9475e21809fbb4736b4290c2648900d9c49e2e (patch)
treebd9e81023fdaae695e3b56db6e2a9112f5ed95ff /player/loadfile.c
parent4009e99b9c8a875e244c908b1f5721bf255966ea (diff)
downloadmpv-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 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 535d486ee0..3b03878e9a 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -260,7 +260,7 @@ static void print_stream(struct MPContext *mpctx, struct track *t)
char b[2048] = {0};
bool forced_only = false;
if (t->type == STREAM_SUB) {
- bool forced_opt = mpctx->opts->subs_rend->forced_subs_only;
+ bool forced_opt = mpctx->opts->subs_rend->sub_forced_events_only;
if (forced_opt)
forced_only = t->selected;
}