From 2e5b462ae3ccd17e7da774df0762eb09318fa8a3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 6 Nov 2013 12:40:06 +0100 Subject: [PATCH] jitterbuffer: advance expected seqnum after dropping After dropping a buffer, move our expected seqnum Conflicts: gst/rtpmanager/gstrtpjitterbuffer.c --- gst/rtpmanager/gstrtpjitterbuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 0f63945a79..c6fe94e8b7 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -2084,6 +2084,7 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstObject * parent, old_item = rtp_jitter_buffer_pop (priv->jbuf, &percent); GST_DEBUG_OBJECT (jitterbuffer, "Queue full, dropping old packet %p", old_item); + priv->next_seqnum = (old_item->seqnum + 1) & 0xffff; free_item (old_item); } } -- 2.34.1