From 2ad96079e99b33e24c912f9b2f5129c1309abede Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Thu, 28 Dec 2023 10:16:42 -0600 Subject: player: add forced choice to subs-with-matching-audio fe875083b3d30b06ef77745f40570e8f63afec2 confused things a bit and made --no-subs-with-matching-audio actually mean what it says: no subtitles if the languages match. However, the option actually meant no non-forced subtitles not no subtitles at all. This isn't really intuitive so instead of changing the behavior back to the old way (we already have a release since then), add a third option "forced" which is equivalent to the old meaning of --no-subs-with-matching audio. Fixes #13151. --- options/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 9efaff76a8..36bf1812c6 100644 --- a/options/options.h +++ b/options/options.h @@ -279,7 +279,7 @@ typedef struct MPOpts { int stream_id[2][STREAM_TYPE_COUNT]; char **stream_lang[STREAM_TYPE_COUNT]; bool stream_auto_sel; - bool subs_with_matching_audio; + int subs_with_matching_audio; bool subs_match_os_language; int subs_fallback; int subs_fallback_forced; -- cgit v1.2.3