summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-08-06 21:39:17 -0500
committerDudemanguy <random342@airmail.cc>2023-08-28 18:43:46 +0000
commit53d032374d9f8fdfca260ed9a67190c37159f7c2 (patch)
tree30465e4d30f25010ebe51432f86cce81c798de69 /DOCS/man/options.rst
parente1f9444d4da5eacb30359ae210b1f1d3831ca05c (diff)
downloadmpv-53d032374d9f8fdfca260ed9a67190c37159f7c2.tar.bz2
mpv-53d032374d9f8fdfca260ed9a67190c37159f7c2.tar.xz
player: remove special auto option from alang/slang/vlang
This proved to be too problematic. Depending on the value of --subs-with-matching-audio, you could either end up with cases where --slang wasn't respected and users didn't get subtitles or alternatively cases where subtitles were given and the user didn't ask for them. Fundamentally, the OS language functionality doesn't really map well to slang (and for alang/vlang it makes zero sense; not that anyone actually used it). Instead of trying to shove it in an option where it doesn't belong, we should split this off into something else. So for now, just remove the special handling of "auto" and flip slang back to NULL.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 23692a672f..94d7bce6e8 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -11,9 +11,6 @@ Track Selection
A track that matches more subtags will be preferred over one that matches fewer,
with preference given to earlier subtags over later ones. See also ``--aid``.
- The special value "auto" can be included anywhere in the list,
- and is equivalent to the user's OS-level list of preferred languages.
-
This is a string list option. See `List Options`_ for details.
.. admonition:: Examples
@@ -24,7 +21,7 @@ Track Selection
audio.
``--slang=<languagecode[,languagecode,...]>``
- Equivalent to ``--alang``, for subtitle tracks (default: auto).
+ Equivalent to ``--alang``, for subtitle tracks.
This is a string list option. See `List Options`_ for details.