summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2013-12-05 12:13:10 +0100
committerSebastian Dröge <sebastian@centricular.com>2013-12-05 12:13:10 +0100
commit774e56b051147cf46f8d6eddb510b15a9bcc001d (patch)
tree107853326aa62dff040fe78721b8d365d79ab9e9 /ext
parent5c8163a685615a0938be0bc4a1cdb597e3999e59 (diff)
flacdec: Require caps to be set before accepting any data
Diffstat (limited to 'ext')
-rw-r--r--ext/flac/gstflacdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c
index 153748543..4a4bdd6e9 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