path: root/DOCS
diff options
authorwm4 <wm4@nowhere>2016-12-23 18:03:16 +0100
committerwm4 <wm4@nowhere>2016-12-23 18:10:07 +0100
commitc560f6ff0ab9aec70e53a268e2ff388a85ec3ca0 (patch)
tree04e7afab982139d2351f00814be7ee127d5290dc /DOCS
parent17d6ba7f776d6fd0ebc7a9881a999299c3fa9471 (diff)
audio: change how spdif codecs are selected
Remove ad_spdif from the normal codec list, and select it explicitly. One goal was to decouple this from the normal codec selection, so they're less entangled and the decoder selection code can be simplified in the far future. This means spdif codec selection is now done explicitly via select_spdif_codec(). We can also remove the weird requirements on "dts" and "dts-hd" for the --audio-spdif option, and it can just do the right thing. Now both video and audio codecs consist of a single codec family each, vd_lavc and ad_lavc.
Diffstat (limited to 'DOCS')
2 files changed, 5 insertions, 4 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index fae6605dae..d2c8536fd4 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -43,6 +43,8 @@ Interface changes
- --sub-codepage=<codepage> does not force the codepage anymore
(this requires different and new syntax)
- remove --fs-black-out-screens option for macOS
+ - change how spdif codecs are selected. You can't enable spdif passthrough
+ with --ad anymore. This was deprecated; use --audio-spdif instead.
--- mpv 0.22.0 ---
- the "audio-device-list" property now sets empty device description to the
device name as a fallback
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index a81646f6a4..bc33edc13d 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1121,11 +1121,10 @@ Audio
Possible codecs are ``ac3``, ``dts``, ``dts-hd``. Multiple codecs can be
specified by separating them with ``,``. ``dts`` refers to low bitrate DTS
core, while ``dts-hd`` refers to DTS MA (receiver and OS support varies).
- You should only use either ``dts`` or ``dts-hd`` (if both are specified,
- and ``dts`` comes first, only ``dts`` will be used).
+ If both ``dts`` and ``dts-hd`` are specified, it behaves equivalent to
+ specifying ``dts-hd`` only.
- In general, all codecs in the ``spdif`` family listed with ``--ad=help``
- are supported in theory.
+ In earlier mpv versions
.. admonition:: Warning