opusdec: Require caps to be set before any data processing
This commit is contained in:
parent
f1d863c296
commit
2e80c88129
@ -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…
x
Reference in New Issue
Block a user