summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorRipose <ripose@protonmail.com>2021-11-13 15:55:53 -0800
committerDudemanguy <random342@airmail.cc>2022-01-19 14:27:04 +0000
commit04f0b0abe48d664aaa1400d1dddb02b434999b85 (patch)
treecc784261e29a6834d7e81ff763fc060867672748 /DOCS
parent1ab3f56df0d7be3b4152bd9e0cc50c1938ff6d70 (diff)
downloadmpv-04f0b0abe48d664aaa1400d1dddb02b434999b85.tar.bz2
mpv-04f0b0abe48d664aaa1400d1dddb02b434999b85.tar.xz
options: add --sub-visibility=<primary-only|secondary-only>
Adds --sub-visibility choices 'primary-only' for only displaying the primary subtitle track, and 'secondary-only' for only displaying secondary subtitle track. Removes --secondary-sub-visibility and displays a message telling the user to use --sub-visibility=yes/primary-only instead. These changes make it so that the default 'sub-visibility' bind 'v' cycles through all the 'sub-visibility' choices, 'no', 'yes', 'primary-only', and 'secondary-only'.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst2
-rw-r--r--DOCS/man/options.rst11
2 files changed, 3 insertions, 10 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 63a08071ec..82f23149c9 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -39,6 +39,8 @@ Interface changes
- add `--tone-mapping-mode`, replacing `--tone-mapping-desaturate` and
`--tone-mapping-desaturate-exponent`.
- add `dolbyvision` sub-parameter to `format` video filter
+ - remove `--secondary-sub-visibility` and introduces
+ `--sub-visibility=primary-only` and `--sub-visibility=secondary-only`
--- mpv 0.34.0 ---
- deprecate selecting by card number with `--drm-connector`, add
`--drm-device` which can be used instead
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 7b51b585e8..31b43fdea0 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2607,19 +2607,10 @@ Subtitles
This is a path list option. See `List Options`_ for details.
-``--sub-visibility``, ``--no-sub-visibility``
+``--sub-visibility=<no|yes|primary-only|secondary-only>``, ``--no-sub-visibility``
Can be used to disable display of subtitles, but still select and decode
them.
-``--secondary-sub-visibility``, ``--no-secondary-sub-visibility``
- Can be used to disable display of secondary subtitles, but still select and
- decode them.
-
- .. note::
-
- If ``--sub-visibility=no``, secondary subtitles are hidden regardless of
- ``--secondary-sub-visibility``.
-
``--sub-clear-on-seek``
(Obscure, rarely useful.) Can be used to play broken mkv files with
duplicate ReadOrder fields. ReadOrder is the first field in a