Commit 3acd8838 authored by Laurent Aimar's avatar Laurent Aimar

* transcode: report the right number of channels (a52 -> mpga).

parent deb75d71
......@@ -801,6 +801,8 @@ static int transcode_audio_ffmpeg_new( sout_stream_t *p_stream,
id->b_enc_inited = VLC_FALSE;
id->f_dst.audio.i_channels = id->p_encoder->fmt_in.audio.i_channels;
id->f_dst.audio.i_rate = id->p_encoder->fmt_in.audio.i_rate;
id->f_dst.i_extra = id->p_encoder->fmt_out.i_extra;
id->f_dst.p_extra = id->p_encoder->fmt_out.p_extra;
......
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