projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
774e56b
)
speexdec: Require caps to be set before accepting any data
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 5 Dec 2013 11:13:33 +0000
(12:13 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 5 Dec 2013 11:13:33 +0000
(12:13 +0100)
ext/speex/gstspeexdec.c
patch
|
blob
|
history
diff --git
a/ext/speex/gstspeexdec.c
b/ext/speex/gstspeexdec.c
index
8f9da2a
..
46b054b
100644
(file)
--- a/
ext/speex/gstspeexdec.c
+++ b/
ext/speex/gstspeexdec.c
@@
-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);