speexdec: Require caps to be set before accepting any data

This commit is contained in:
Sebastian Dröge 2013-12-05 12:13:33 +01:00
parent 774e56b051
commit c880e36779

View file

@ -156,6 +156,8 @@ gst_speex_dec_reset (GstSpeexDec * dec)
static void
gst_speex_dec_init (GstSpeexDec * dec)
{
gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (dec), TRUE);
dec->enh = DEFAULT_ENH;
gst_speex_dec_reset (dec);