diff options
author | Dudemanguy <random342@airmail.cc> | 2023-08-29 12:34:27 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-08-29 12:34:27 -0500 |
commit | df613cef4c6736c19c4e4be2250936f7dbd74037 (patch) | |
tree | 6fd5ea8b3d0c053bbff1dd854dd857b388b0933e /DOCS/man/options.rst | |
parent | 92fe8f1a4ee97633947417268babaa4a9447301c (diff) | |
download | mpv-df613cef4c6736c19c4e4be2250936f7dbd74037.tar.bz2 mpv-df613cef4c6736c19c4e4be2250936f7dbd74037.tar.xz |
loadfile: fix --no-subs-with-matching-audio with --slang
If --slang was set to some language and it matched the subtitle track,
then --no-subs-with-matching-audio would do nothing. Fix the logic by
doing the --no-subs-with-matching-audio step at the end to ensure that
it always "wins" over whatever --slang or --subs-fallback has set.
Clarify the docs a bit to make it clearer that this is the intended
behavior. Fixes fbe8f9919428a7ed24a61899bfd85bbb7680e389.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 3e3437a394..bb60434419 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -137,7 +137,9 @@ Track Selection ``--subs-with-matching-audio=<yes|no>`` When autoselecting a subtitle track, select a full/non-forced one even if the selected - audio stream matches your preferred subtitle language (default: yes). + audio stream matches your preferred subtitle language (default: yes). If this option is + set to ``no``, a non-forced subtitle track that matches the audio language will never be + autoselected by mpv regardless of the value of ``--slang`` or ``--subs-fallback``. ``--subs-match-os-language=<yes|no>`` When autoselecting a subtitle track, select the track that matches the language of your OS |