summaryrefslogtreecommitdiffstats
path: root/sub/sd_ass.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 /sub/sd_ass.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 'sub/sd_ass.c')
-rw-r--r--sub/sd_ass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/sd_ass.c b/sub/sd_ass.c
index 1ce77384c8..516553f20b 100644
--- a/sub/sd_ass.c
+++ b/sub/sd_ass.c
@@ -577,7 +577,7 @@ static struct sub_bitmaps *get_bitmaps(struct sd *sd, struct mp_osd_res dim,
// Currently no supported text sub formats support a distinction between forced
// and unforced lines, so we just assume everything's unforced and discard everything.
// If we ever see a format that makes this distinction, we can add support here.
- if (opts->forced_subs_only)
+ if (opts->sub_forced_events_only)
goto done;
double scale = dim.display_par;