summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/gstrtpjitterbuffer.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-05-04 12:32:27 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-05-04 12:32:27 +0000
commit25fa19fba6aa753869a63f461eeadeff54ea39dc (patch)
treea8e4bffd0cac80d2abff0582c070564f292ade8e /gst/rtpmanager/gstrtpjitterbuffer.c
parentb1a2c304014f5e2b990dda13be20dc67d691fd7a (diff)
downloadgst-plugins-bad-25fa19fba6aa753869a63f461eeadeff54ea39dc.tar.gz
gst-plugins-bad-25fa19fba6aa753869a63f461eeadeff54ea39dc.tar.bz2
gst-plugins-bad-25fa19fba6aa753869a63f461eeadeff54ea39dc.zip
gst/rtpmanager/gstrtpjitterbuffer.c: Add some debug info.
Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_query): Add some debug info. * gst/rtpmanager/rtpsession.c: (rtp_session_init), (rtp_session_send_rtp): Store real user name in the session.
Diffstat (limited to 'gst/rtpmanager/gstrtpjitterbuffer.c')
-rw-r--r--gst/rtpmanager/gstrtpjitterbuffer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c
index 6fe2a916..e6540648 100644
--- a/gst/rtpmanager/gstrtpjitterbuffer.c
+++ b/gst/rtpmanager/gstrtpjitterbuffer.c
@@ -1100,6 +1100,10 @@ gst_rtp_jitter_buffer_query (GstPad * pad, GstQuery * query)
if ((res = gst_pad_query (peer, query))) {
gst_query_parse_latency (query, &us_live, &min_latency, &max_latency);
+ GST_DEBUG_OBJECT (jitterbuffer, "Peer latency: min %"
+ GST_TIME_FORMAT " max %" GST_TIME_FORMAT,
+ GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency));
+
min_latency += priv->latency_ms * GST_MSECOND;
max_latency += priv->latency_ms * GST_MSECOND;