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 a26a34dfc751a2479ca32ee5090b57fec3408576..cc3efa13be0f7592460c57e94633d4799a4c50f7 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);
 }