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 committed by Tim-Philipp Müller
parent fe7f0a6ac7
commit 056c7bc7c9

View file

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