mirror of
https://github.com/mpv-player/mpv
synced 2024-12-21 22:30:22 +00:00
audio: don't downmix when doing digital passthrough
This obviously doesn't work. It wasn't much of a problem in the past because most passthrough formats use 2 channels, which is also the default for downmix.
This commit is contained in:
parent
249789c256
commit
b0b0e69570
@ -143,7 +143,8 @@ void reinit_audio_chain(struct MPContext *mpctx)
|
||||
ao_format = out_format.format;
|
||||
ao_channels = out_format.channels;
|
||||
} else {
|
||||
ao_channels = opts->audio_output_channels; // automatic downmix
|
||||
if (!AF_FORMAT_IS_SPECIAL(in_format.format))
|
||||
ao_channels = opts->audio_output_channels; // automatic downmix
|
||||
}
|
||||
|
||||
// Determine what the filter chain outputs. build_afilter_chain() also
|
||||
|
Loading…
Reference in New Issue
Block a user