From 9b9475e21809fbb4736b4290c2648900d9c49e2e Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Mon, 28 Aug 2023 20:15:49 -0500 Subject: 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. --- sub/sd_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub/sd_lavc.c') 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; -- cgit v1.2.3