summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-08-06 23:49:37 -0500
committerDudemanguy <random342@airmail.cc>2023-08-28 18:43:46 +0000
commit58ec0630f545705f0300805a43ee24aa0dcb59d6 (patch)
tree515e7c57a4e68e5efdfedbe0b7e8fc7e635da52e /options/options.h
parentfbe8f9919428a7ed24a61899bfd85bbb7680e389 (diff)
downloadmpv-58ec0630f545705f0300805a43ee24aa0dcb59d6.tar.bz2
mpv-58ec0630f545705f0300805a43ee24aa0dcb59d6.tar.xz
player: add --subs-match-os-language option
This is the replacement for the previous auto option for slang. It behaves similar however it never overrides slang if that is set and will instead try to pick the subtitle that matches the user's language if appropriately flagged by the file.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 6f8c8a5998..52547183a2 100644
--- a/options/options.h
+++ b/options/options.h
@@ -268,6 +268,7 @@ typedef struct MPOpts {
char **stream_lang[STREAM_TYPE_COUNT];
bool stream_auto_sel;
bool subs_with_matching_audio;
+ bool subs_match_os_language;
int subs_fallback;
bool subs_fallback_forced;
int audio_display;