[vlc-devel] [PATCH 06/16] codec: faad: keep the input channel_type
Thomas Guillem
thomas at gllm.fr
Fri Jul 7 16:02:52 CEST 2017
From: Adrien Maglo <magsoft at videolan.org>
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
---
modules/codec/faad.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/faad.c b/modules/codec/faad.c
index ec9e2abb6b..c422de055f 100644
--- a/modules/codec/faad.c
+++ b/modules/codec/faad.c
@@ -132,6 +132,7 @@ static int Open( vlc_object_t *p_this )
p_dec->fmt_out.i_cat = AUDIO_ES;
p_dec->fmt_out.i_codec = HAVE_FPU ? VLC_CODEC_FL32 : VLC_CODEC_S16N;
+ p_dec->fmt_out.audio.channels_type = p_dec->fmt_in.audio.channels_type;
p_dec->fmt_out.audio.i_physical_channels =
p_dec->fmt_out.audio.i_original_channels = 0;
--
2.11.0
More information about the vlc-devel
mailing list