[vlc-devel] [PATCH 05/16] codec: araw: keep the input channel_type

Thomas Guillem thomas at gllm.fr
Fri Jul 7 16:02:51 CEST 2017


From: Adrien Maglo <magsoft at videolan.org>

Signed-off-by: Thomas Guillem <thomas at gllm.fr>
---
 modules/codec/araw.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/araw.c b/modules/codec/araw.c
index 2c08413fee..23efc2b9c9 100644
--- a/modules/codec/araw.c
+++ b/modules/codec/araw.c
@@ -272,6 +272,7 @@ static int DecoderOpen( vlc_object_t *p_this )
     /* Set output properties */
     p_dec->fmt_out.i_cat = AUDIO_ES;
     p_dec->fmt_out.i_codec = format;
+    p_dec->fmt_out.audio.channels_type = p_dec->fmt_in.audio.channels_type;
     p_dec->fmt_out.audio.i_format = format;
     p_dec->fmt_out.audio.i_rate = p_dec->fmt_in.audio.i_rate;
     if( p_dec->fmt_in.audio.i_channels <= AOUT_CHAN_MAX )
-- 
2.11.0



More information about the vlc-devel mailing list