mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
rtpjitterbuffer: Reschedule timers when updating their offset
As EXPECTED timers are skipped the order of the timers relative to each other can change if there are EXPECTED timers and rescheduling needs to happen. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1422 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3416>
This commit is contained in:
parent
02fd7fb777
commit
3d79402344
1 changed files with 1 additions and 2 deletions
|
@ -2274,10 +2274,9 @@ update_timer_offsets (GstRtpJitterBuffer * jitterbuffer)
|
|||
test->timeout = GST_CLOCK_TIME_NONE;
|
||||
test->offset = 0;
|
||||
}
|
||||
/* as we apply the offset on all timers, the order of timers won't
|
||||
* change and we can skip updating the timer queue */
|
||||
}
|
||||
|
||||
rtp_timer_queue_reschedule (priv->timers, test);
|
||||
test = rtp_timer_get_next (test);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue