diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2013-12-05 12:04:59 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2013-12-05 12:04:59 +0100 |
commit | 0c301bfee7d79801a8fd4d3d2485ea31dc7e6d87 (patch) | |
tree | 6080d476984e7a3ed4b0f8393e91bcfac932bb1c | |
parent | 061b3e5fec329ad36102c2c365ba4420c8730c49 (diff) | |
download | gstreamer-plugins-base-0c301bfee7d79801a8fd4d3d2485ea31dc7e6d87.tar.gz |
opusdec: Require caps to be set before any data processing
-rw-r--r-- | ext/opus/gstopusdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c index 456cc624b..d2fc6465d 100644 --- 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); } |