mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
rtpjitterbuffer: avoid stall by corrupted seqnum accounting
This commit is contained in:
parent
39bbccdf79
commit
6c584bc833
1 changed files with 4 additions and 1 deletions
|
@ -2826,7 +2826,10 @@ do_deadline_timeout (GstRtpJitterBuffer * jitterbuffer, TimerData * timer,
|
|||
|
||||
GST_INFO_OBJECT (jitterbuffer, "got deadline timeout");
|
||||
|
||||
priv->next_seqnum = timer->seqnum;
|
||||
/* timer seqnum might have been obsoleted by caps seqnum-base,
|
||||
* only mess with current ongoing seqnum if still unknown */
|
||||
if (priv->next_seqnum == -1)
|
||||
priv->next_seqnum = timer->seqnum;
|
||||
remove_timer (jitterbuffer, timer);
|
||||
JBUF_SIGNAL_EVENT (priv);
|
||||
|
||||
|
|
Loading…
Reference in a new issue