sirendec: Require caps to be set before any data processing
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2013 11:05:09 +0000 (12:05 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2013 11:05:09 +0000 (12:05 +0100)
gst/siren/gstsirendec.c

index aa71d46..0b26f5a 100644 (file)
@@ -95,6 +95,7 @@ gst_siren_dec_class_init (GstSirenDecClass * klass)
 static void
 gst_siren_dec_init (GstSirenDec * dec)
 {
+  gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (dec), TRUE);
 }
 
 static gboolean