jitterbuffer: advance expected seqnum after dropping

After dropping a buffer, move our expected seqnum

Conflicts:
	gst/rtpmanager/gstrtpjitterbuffer.c
This commit is contained in:
Wim Taymans 2013-11-06 12:40:06 +01:00 committed by Wim Taymans
parent a065b4fcde
commit 2e5b462ae3

View file

@ -2084,6 +2084,7 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstObject * parent,
old_item = rtp_jitter_buffer_pop (priv->jbuf, &percent); old_item = rtp_jitter_buffer_pop (priv->jbuf, &percent);
GST_DEBUG_OBJECT (jitterbuffer, "Queue full, dropping old packet %p", GST_DEBUG_OBJECT (jitterbuffer, "Queue full, dropping old packet %p",
old_item); old_item);
priv->next_seqnum = (old_item->seqnum + 1) & 0xffff;
free_item (old_item); free_item (old_item);
} }
} }