summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-12-28 10:16:42 -0600
committerDudemanguy <random342@airmail.cc>2024-01-13 03:26:06 +0000
commit2ad96079e99b33e24c912f9b2f5129c1309abede (patch)
treedd297b38b4b967122e56b29869e22fd55b1d5e4d /options/options.h
parent871f7a152a3f0b3561a627d21f7417d10ac9c25c (diff)
downloadmpv-2ad96079e99b33e24c912f9b2f5129c1309abede.tar.bz2
mpv-2ad96079e99b33e24c912f9b2f5129c1309abede.tar.xz
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.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h2
1 files changed, 1 insertions, 1 deletions
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;