[vlc-commits] codec: araw: keep the input channel_type

Adrien Maglo git at videolan.org
Wed Jul 19 18:59:34 CEST 2017


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon Feb 27 12:16:30 2017 +0100| [0b052ac83bf039369b4a4ee5e628f01749a8783f] | committer: Thomas Guillem

codec: araw: keep the input channel_type

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b052ac83bf039369b4a4ee5e628f01749a8783f
---

 modules/codec/araw.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/araw.c b/modules/codec/araw.c
index 3a653eed14..6b432e761f 100644
--- a/modules/codec/araw.c
+++ b/modules/codec/araw.c
@@ -274,6 +274,7 @@ static int DecoderOpen( vlc_object_t *p_this )
 
     /* Set output properties */
     p_dec->fmt_out.i_codec = format;
+    p_dec->fmt_out.audio.channel_type = p_dec->fmt_in.audio.channel_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 <= ARRAY_SIZE( pi_channels_maps ) - 1 )



More information about the vlc-commits mailing list