projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d863c
)
opusdec: Require caps to be set before any data processing
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 5 Dec 2013 11:04:59 +0000
(12:04 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 5 Dec 2013 11:04:59 +0000
(12:04 +0100)
ext/opus/gstopusdec.c
patch
|
blob
|
history
diff --git
a/ext/opus/gstopusdec.c
b/ext/opus/gstopusdec.c
index 456cc624bec65730b6fb25de4639b3a3c5291e8e..d2fc6465dc8cb8f9db9efcc6bd34de61c2876192 100644
(file)
--- a/
ext/opus/gstopusdec.c
+++ b/
ext/opus/gstopusdec.c
@@
-165,6
+165,8
@@
gst_opus_dec_init (GstOpusDec * dec)
dec->use_inband_fec = FALSE;
dec->apply_gain = DEFAULT_APPLY_GAIN;
+ gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (dec), TRUE);
+
gst_opus_dec_reset (dec);
}