mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Improve and fix LATENCY query handling
This now follows the design docs everywhere, especially the maximum latency handling. https://bugzilla.gnome.org/show_bug.cgi?id=744106
This commit is contained in:
parent
da4f7e5387
commit
111c831c08
1 changed files with 3 additions and 0 deletions
|
@ -181,6 +181,9 @@ gst_opus_dec_start (GstAudioDecoder * dec)
|
|||
gst_audio_decoder_set_plc_aware (dec, TRUE);
|
||||
|
||||
if (odec->use_inband_fec) {
|
||||
/* FIXME: Is our maximum latency really 120ms, i.e. are we going
|
||||
* to buffer up to 120ms?
|
||||
*/
|
||||
gst_audio_decoder_set_latency (dec, 2 * GST_MSECOND + GST_MSECOND / 2,
|
||||
120 * GST_MSECOND);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue