mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +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->use_inband_fec = FALSE;
|
||||||
dec->apply_gain = DEFAULT_APPLY_GAIN;
|
dec->apply_gain = DEFAULT_APPLY_GAIN;
|
||||||
|
|
||||||
|
gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (dec), TRUE);
|
||||||
|
|
||||||
gst_opus_dec_reset (dec);
|
gst_opus_dec_reset (dec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue