mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
rtpjitterbuffer: Make the next output buffer discont after resetting the jitterbuffer
Resetting the jitterbuffer drops all packets and other things, and will cause a discontinuity in the packets received by the depayloaders. They should now also flush anything they had pending as the new data will start at a different position. https://bugzilla.gnome.org/show_bug.cgi?id=739868
This commit is contained in:
parent
7fbd1b472f
commit
1a2f253c3a
1 changed files with 1 additions and 0 deletions
|
@ -2300,6 +2300,7 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstObject * parent,
|
||||||
(GFunc) free_item_and_retain_events, &events);
|
(GFunc) free_item_and_retain_events, &events);
|
||||||
rtp_jitter_buffer_reset_skew (priv->jbuf);
|
rtp_jitter_buffer_reset_skew (priv->jbuf);
|
||||||
remove_all_timers (jitterbuffer);
|
remove_all_timers (jitterbuffer);
|
||||||
|
priv->discont = TRUE;
|
||||||
priv->last_popped_seqnum = -1;
|
priv->last_popped_seqnum = -1;
|
||||||
priv->next_seqnum = seqnum;
|
priv->next_seqnum = seqnum;
|
||||||
do_next_seqnum = TRUE;
|
do_next_seqnum = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue