mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
Revert "rtpjitterbuffer: If we have an immediate timeout, don't try to find an earlier timeout"
This reverts commit 0c21cd7177
.
If we have multiple immediate timers, we want to first handle the one with the
lowest sequence number... which would be broken now.
Instead of this we should just use a GSequence for the timers, and have them
sorted first by timestamp, and for equal timestamps by sequence number. Then
we would always only have to take the very first timer from the list and never
have to look at any others.
This commit is contained in:
parent
0c21cd7177
commit
de5cd0995b
1 changed files with 0 additions and 4 deletions
|
@ -3315,10 +3315,6 @@ wait_next_timeout (GstRtpJitterBuffer * jitterbuffer)
|
|||
GST_DEBUG_OBJECT (jitterbuffer, "new best %d", i);
|
||||
timer = test;
|
||||
timer_timeout = test_timeout;
|
||||
|
||||
/* Immediate timeout */
|
||||
if (test_timeout == -1)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (timer && !priv->blocked) {
|
||||
|
|
Loading…
Reference in a new issue