1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

ad_lavc: disable decoder downmix by default

Let's see how much everyone hates this. Leaving it enabled seems
problematic, because libavcodec returns an unspecific error if it
doesn't like it.

Fixes: #6300
This commit is contained in:
wm4 2020-02-29 22:08:38 +01:00
parent a3823ce0e0
commit faf24a286f
2 changed files with 2 additions and 2 deletions

View File

@ -1829,7 +1829,7 @@ Audio
other players) ignore this for the sake of better audio quality.
``--ad-lavc-downmix=<yes|no>``
Whether to request audio channel downmixing from the decoder (default: yes).
Whether to request audio channel downmixing from the decoder (default: no).
Some decoders, like AC-3, AAC and DTS, can remix audio on decoding. The
requested number of output channels is set with the ``--audio-channels`` option.
Useful for playing surround audio on a stereo system.

View File

@ -72,7 +72,7 @@ const struct m_sub_options ad_lavc_conf = {
.size = sizeof(struct ad_lavc_params),
.defaults = &(const struct ad_lavc_params){
.ac3drc = 0,
.downmix = 1,
.downmix = 0,
.threads = 1,
},
};