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
@ -2300,6 +2300,7 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstObject * parent,
|
||||
(GFunc) free_item_and_retain_events, &events);
|
||||
rtp_jitter_buffer_reset_skew (priv->jbuf);
|
||||
remove_all_timers (jitterbuffer);
|
||||
priv->discont = TRUE;
|
||||
priv->last_popped_seqnum = -1;
|
||||
priv->next_seqnum = seqnum;
|
||||
do_next_seqnum = TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user