Commit c2e4f7c6 authored by Ilkka Ollakka's avatar Ilkka Ollakka

faad: try to guess channel count if we can, and don't set it to 0 in Open

Ref #9200
parent a3a150b9
......@@ -179,7 +179,9 @@ static int Open( vlc_object_t *p_this )
{
/* Will be initalised from first frame */
p_dec->fmt_out.audio.i_rate = 0;
p_dec->fmt_out.audio.i_channels = 0;
/*FIXME: Try to guess channel count, so transcode module doesn't burb and do funny stuff
Revert back to 0 when transcode module/audio encoders can reinit stuff after Open()*/
p_dec->fmt_out.audio.i_channels = p_dec->fmt_in.audio.i_channels;
}
/* Set the faad config */
......
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