Commit bcd06ea5 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

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.
parent 0a12e690
......@@ -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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment