mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
jiterbuffer: Move assertion to the right location
We shouldn't have "late" lost timers at that point
This commit is contained in:
parent
b82da62922
commit
5fa1c2ba59
1 changed files with 3 additions and 3 deletions
|
@ -3581,10 +3581,10 @@ wait_next_timeout (GstRtpJitterBuffer * jitterbuffer)
|
|||
GstClockReturn ret;
|
||||
GstClockTimeDiff clock_jitter;
|
||||
|
||||
/* We have normally removed all lost timers in the loop above */
|
||||
g_assert (timer->type != TIMER_TYPE_LOST);
|
||||
|
||||
if (timer_timeout == -1 || timer_timeout <= now) {
|
||||
/* We have normally removed all lost timers in the loop above */
|
||||
g_assert (timer->type != TIMER_TYPE_LOST);
|
||||
|
||||
do_timeout (jitterbuffer, timer, now);
|
||||
/* check here, do_timeout could have released the lock */
|
||||
if (!priv->timer_running)
|
||||
|
|
Loading…
Reference in a new issue