mpg123audiodec: Require caps to be set before any data processing

This commit is contained in:
Sebastian Dröge 2013-12-05 12:04:39 +01:00
parent f8caef5772
commit f1d863c296

View file

@ -196,6 +196,7 @@ void
gst_mpg123_audio_dec_init (GstMpg123AudioDec * mpg123_decoder)
{
mpg123_decoder->handle = NULL;
gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (mpg123_decoder), TRUE);
}