mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-13 09:45:27 +00:00
rtpjitterbuffer: some more reset when clearing pt map
... which in particular caters for some more reset following a possible rtsp PLAY.
This commit is contained in:
parent
81fc784163
commit
adfe7d0467
1 changed files with 5 additions and 0 deletions
|
@ -671,6 +671,11 @@ gst_rtp_jitter_buffer_clear_pt_map (GstRtpJitterBuffer * jitterbuffer)
|
||||||
|
|
||||||
JBUF_LOCK (priv);
|
JBUF_LOCK (priv);
|
||||||
priv->clock_rate = -1;
|
priv->clock_rate = -1;
|
||||||
|
/* do not clear current content, but refresh state for new arrival */
|
||||||
|
GST_DEBUG_OBJECT (jitterbuffer, "reset jitterbuffer");
|
||||||
|
rtp_jitter_buffer_reset_skew (priv->jbuf);
|
||||||
|
priv->last_popped_seqnum = -1;
|
||||||
|
priv->next_seqnum = -1;
|
||||||
JBUF_UNLOCK (priv);
|
JBUF_UNLOCK (priv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue