mulawdec: Require caps to be set before accepting any data
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2013 11:15:29 +0000 (12:15 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2013 11:15:29 +0000 (12:15 +0100)
gst/law/mulaw-decode.c

index a26a34d..cc3efa1 100644 (file)
@@ -159,4 +159,5 @@ gst_mulawdec_class_init (GstMuLawDecClass * klass)
 static void
 gst_mulawdec_init (GstMuLawDec * mulawdec)
 {
+  gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (mulawdec), TRUE);
 }