mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
opusdec: Require caps to be set before any data processing
This commit is contained in:
parent
f1d863c296
commit
2e80c88129
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue