summaryrefslogtreecommitdiffstats
path: root/sub/sd_lavc.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_lavc.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_lavc.c')
-rw-r--r--sub/sd_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/sd_lavc.c b/sub/sd_lavc.c
index 5586a4c287..7d0a7ffc2e 100644
--- a/sub/sd_lavc.c
+++ b/sub/sd_lavc.c
@@ -195,7 +195,7 @@ static void read_sub_bitmaps(struct sd *sd, struct sub *sub)
MP_ERR(sd, "unsupported subtitle type from libavcodec\n");
continue;
}
- if (!(r->flags & AV_SUBTITLE_FLAG_FORCED) && opts->forced_subs_only)
+ if (!(r->flags & AV_SUBTITLE_FLAG_FORCED) && opts->sub_forced_events_only)
continue;
if (r->w <= 0 || r->h <= 0)
continue;