Commit 9e2f0ba6 authored by Adrien Maglo's avatar Adrien Maglo Committed by Thomas Guillem

codec: avcodec: keep the input channel_type

Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent fdd3b7ca
......@@ -575,6 +575,7 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
decoder_sys_t *p_sys = p_dec->p_sys;
p_dec->fmt_out.i_codec = GetVlcAudioFormat( p_sys->p_context->sample_fmt );
p_dec->fmt_out.audio.channel_type = p_dec->fmt_in.audio.channel_type;
p_dec->fmt_out.audio.i_format = p_dec->fmt_out.i_codec;
p_dec->fmt_out.audio.i_rate = p_sys->p_context->sample_rate;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment