mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
jitterbuffer: advance expected seqnum after dropping
After dropping a buffer, move our expected seqnum Conflicts: gst/rtpmanager/gstrtpjitterbuffer.c
This commit is contained in:
parent
a065b4fcde
commit
2e5b462ae3
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue