mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtpjitterbuffer: Reset skew detection after instantiating the jitterbuffer
...not only when going to READY. This sets high_level and friends to a more useful value.
This commit is contained in:
parent
0a12e69024
commit
bcd06ea527
1 changed files with 5 additions and 0 deletions
|
@ -469,6 +469,11 @@ gst_rtp_jitter_buffer_init (GstRtpJitterBuffer * jitterbuffer,
|
|||
priv->jbuf_lock = g_mutex_new ();
|
||||
priv->jbuf_cond = g_cond_new ();
|
||||
|
||||
/* reset skew detection initialy */
|
||||
rtp_jitter_buffer_reset_skew (priv->jbuf);
|
||||
rtp_jitter_buffer_set_delay (priv->jbuf, priv->latency_ns);
|
||||
rtp_jitter_buffer_set_buffering (priv->jbuf, FALSE);
|
||||
|
||||
priv->srcpad =
|
||||
gst_pad_new_from_static_template (&gst_rtp_jitter_buffer_src_template,
|
||||
"src");
|
||||
|
|
Loading…
Reference in a new issue