mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
jitterbuffer: add some more debug
This commit is contained in:
parent
91d4abceaa
commit
bf7d8173b3
1 changed files with 4 additions and 0 deletions
|
@ -1011,6 +1011,9 @@ gst_rtp_jitter_buffer_src_event (GstPad * pad, GstObject * parent,
|
||||||
|
|
||||||
gst_event_parse_latency (event, &latency);
|
gst_event_parse_latency (event, &latency);
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (jitterbuffer,
|
||||||
|
"configuring latency of %" GST_TIME_FORMAT, GST_TIME_ARGS (latency));
|
||||||
|
|
||||||
JBUF_LOCK (priv);
|
JBUF_LOCK (priv);
|
||||||
/* adjust the overall buffer delay to the total pipeline latency in
|
/* adjust the overall buffer delay to the total pipeline latency in
|
||||||
* buffering mode because if downstream consumes too fast (because of
|
* buffering mode because if downstream consumes too fast (because of
|
||||||
|
@ -1789,6 +1792,7 @@ again:
|
||||||
ret = gst_clock_id_wait (id, &clock_jitter);
|
ret = gst_clock_id_wait (id, &clock_jitter);
|
||||||
|
|
||||||
JBUF_LOCK (priv);
|
JBUF_LOCK (priv);
|
||||||
|
GST_DEBUG_OBJECT (jitterbuffer, "sync done");
|
||||||
/* and free the entry */
|
/* and free the entry */
|
||||||
gst_clock_id_unref (id);
|
gst_clock_id_unref (id);
|
||||||
priv->clock_id = NULL;
|
priv->clock_id = NULL;
|
||||||
|
|
Loading…
Reference in a new issue