jitterbuffer: add some more debug

This commit is contained in:
Wim Taymans 2013-07-24 14:18:14 +02:00
parent 91d4abceaa
commit bf7d8173b3

View file

@ -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;