From 53d032374d9f8fdfca260ed9a67190c37159f7c2 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sun, 6 Aug 2023 21:39:17 -0500 Subject: 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. --- DOCS/man/options.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'DOCS/man/options.rst') 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=`` - 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. -- cgit v1.2.3