summaryrefslogtreecommitdiffstats
path: root/player/audio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-04 19:14:35 +0200
committerwm4 <wm4@nowhere>2016-08-04 19:14:35 +0200
commitc30aa2340132e50994cdf168aaba011ecb4f6b0c (patch)
treed5f054971c483acc6adf9e93f8014e95ebef80b5 /player/audio.c
parentefa9fe8edfb2260359aa468a11c0df521862fb0c (diff)
downloadmpv-c30aa2340132e50994cdf168aaba011ecb4f6b0c.tar.bz2
mpv-c30aa2340132e50994cdf168aaba011ecb4f6b0c.tar.xz
player: remove special-case for DL/DR speakers
Pointless anyway. With superficial checking I couldn't find any decoder which actually outputs this, and AO chmap negotiation would properly ignore them anyway in most cases.
Diffstat (limited to 'player/audio.c')
-rw-r--r--player/audio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/player/audio.c b/player/audio.c
index 6c53bdf721..bcaeb13e9f 100644
--- a/player/audio.c
+++ b/player/audio.c
@@ -372,8 +372,6 @@ static void reinit_audio_filters_and_output(struct MPContext *mpctx)
ao_c->spdif_passthrough;
bool ao_null_fallback = opts->ao_null_fallback && !spdif_fallback;
- mp_chmap_remove_useless_channels(&afs->output.channels,
- &opts->audio_output_channels);
mp_audio_set_channels(&afs->output, &afs->output.channels);
mpctx->ao = ao_init_best(mpctx->global, ao_null_fallback, mpctx->input,