rtpjitterbuffer: don't update time when unscheduled

Don't try to estimate the current time when we got unscheduled.
This commit is contained in:
Wim Taymans 2013-09-18 16:31:26 +02:00
parent 65606a25bf
commit 8d021b6ede

View file

@ -2505,6 +2505,7 @@ wait_next_timeout (GstRtpJitterBuffer * jitterbuffer)
gst_clock_id_unref (id);
priv->clock_id = NULL;
if (ret != GST_CLOCK_UNSCHEDULED)
now = timer_timeout + MAX (clock_jitter, 0);
} else {
/* no timers, wait for activity */