flacdec: Require caps to be set before accepting any data

This commit is contained in:
Sebastian Dröge 2013-12-05 12:13:10 +01:00
parent 5c8163a685
commit 774e56b051

View file

@ -176,7 +176,7 @@ gst_flac_dec_class_init (GstFlacDecClass * klass)
static void
gst_flac_dec_init (GstFlacDec * flacdec)
{
/* nothing to do here */
gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (flacdec), TRUE);
}
static gboolean