mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gst/rtpmanager/gstrtpjitterbuffer.c: jitterbuffer can buffer an unlimited amount of time and thus has no max_latency ...
Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_query): jitterbuffer can buffer an unlimited amount of time and thus has no max_latency requirements.
This commit is contained in:
parent
c5fdb6bff3
commit
1a8f489093
1 changed files with 2 additions and 4 deletions
|
@ -1209,11 +1209,9 @@ gst_rtp_jitter_buffer_query (GstPad * pad, GstQuery * query)
|
|||
GST_DEBUG_OBJECT (jitterbuffer, "Our latency: %" GST_TIME_FORMAT,
|
||||
GST_TIME_ARGS (our_latency));
|
||||
|
||||
/* we add some latency but can buffer an infinite amount of time */
|
||||
min_latency += our_latency;
|
||||
/* max_latency can be -1, meaning there is no upper limit for the
|
||||
* latency. */
|
||||
if (max_latency != -1)
|
||||
max_latency += our_latency;
|
||||
max_latency = -1;
|
||||
|
||||
GST_DEBUG_OBJECT (jitterbuffer, "Calculated total latency : min %"
|
||||
GST_TIME_FORMAT " max %" GST_TIME_FORMAT,
|
||||
|
|
Loading…
Reference in a new issue