From dd4af0d11ca5b00378ea2123002b85911d2f5a2c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 27 Aug 2013 09:33:03 +0200 Subject: [PATCH] jitterbuffer: only timeout EXPECTED timers on gap Only timeout the EXPECTED timers when we detect a large seqnum gap. --- gst/rtpmanager/gstrtpjitterbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 9d2645e..d56d6af 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -1604,7 +1604,7 @@ update_timers (GstRtpJitterBuffer * jitterbuffer, guint16 seqnum, } else if (gap > priv->rtx_delay_reorder) { /* max gap, we exceeded the max reorder distance and we don't expect the * missing packet to be this reordered */ - if (test->rtx_retry == 0) + if (test->rtx_retry == 0 && test->type == TIMER_TYPE_EXPECTED) reschedule_timer (jitterbuffer, test, test->seqnum, -1); } } -- 2.7.4