mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
rtpjitterbuffer: don't update time when unscheduled
Don't try to estimate the current time when we got unscheduled.
This commit is contained in:
parent
65606a25bf
commit
8d021b6ede
1 changed files with 2 additions and 1 deletions
|
@ -2505,7 +2505,8 @@ wait_next_timeout (GstRtpJitterBuffer * jitterbuffer)
|
|||
gst_clock_id_unref (id);
|
||||
priv->clock_id = NULL;
|
||||
|
||||
now = timer_timeout + MAX (clock_jitter, 0);
|
||||
if (ret != GST_CLOCK_UNSCHEDULED)
|
||||
now = timer_timeout + MAX (clock_jitter, 0);
|
||||
} else {
|
||||
/* no timers, wait for activity */
|
||||
GST_DEBUG_OBJECT (jitterbuffer, "waiting");
|
||||
|
|
Loading…
Reference in a new issue