gsmdec: Require caps to be set before any data processing
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2013 11:04:23 +0000 (12:04 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2013 11:04:23 +0000 (12:04 +0100)
ext/gsm/gstgsmdec.c

index fc182cd..95c2c11 100644 (file)
@@ -104,6 +104,7 @@ gst_gsmdec_class_init (GstGSMDecClass * klass)
 static void
 gst_gsmdec_init (GstGSMDec * gsmdec)
 {
+  gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (gsmdec), TRUE);
 }
 
 static gboolean