diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-02-11 14:16:21 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-02-11 14:16:21 +0100 |
commit | 111c831c08b9a68379f30f1600eea463405c301f (patch) | |
tree | 7ca5cc54e14bb3f4addbe2077960f0c235d5d9d2 | |
parent | da4f7e53873b5e1423754b294d40d622a2b4d951 (diff) | |
download | gstreamer-plugins-base-111c831c08b9a68379f30f1600eea463405c301f.tar.gz |
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
-rw-r--r-- | ext/opus/gstopusdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c index c148beeff..366b6b81c 100644 --- a/ext/opus/gstopusdec.c +++ b/ext/opus/gstopusdec.c @@ -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); } |