From 774e56b051147cf46f8d6eddb510b15a9bcc001d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 5 Dec 2013 12:13:10 +0100 Subject: [PATCH] flacdec: Require caps to be set before accepting any data --- ext/flac/gstflacdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c index 153748543f..4a4bdd6e98 100644 --- a/ext/flac/gstflacdec.c +++ b/ext/flac/gstflacdec.c @@ -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