diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-05-04 12:32:27 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-05-04 12:32:27 +0000 |
commit | 25fa19fba6aa753869a63f461eeadeff54ea39dc (patch) | |
tree | a8e4bffd0cac80d2abff0582c070564f292ade8e | |
parent | b1a2c304014f5e2b990dda13be20dc67d691fd7a (diff) | |
download | gst-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.
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | gst/rtpmanager/gstrtpjitterbuffer.c | 4 | ||||
-rw-r--r-- | gst/rtpmanager/rtpsession.c | 4 |
3 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,13 @@ +2007-05-04 Wim Taymans <wim@fluendo.com> + + * 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. + 2007-05-03 Zaheer Abbas Merali <<zaheerabbas at merali dot org>> * configure.ac: 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; diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 8a7f3e7d..9f5d58d8 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -186,8 +186,8 @@ rtp_session_init (RTPSession * sess) sess->mtu = 1400; /* some default SDES entries */ - //sess->cname = g_strdup_printf ("%s@%s", g_get_user_name (), g_get_host_name ()); - sess->cname = g_strdup_printf ("foo@%s", g_get_host_name ()); + sess->cname = + g_strdup_printf ("%s@%s", g_get_user_name (), g_get_host_name ()); sess->name = g_strdup (g_get_real_name ()); sess->tool = g_strdup ("GStreamer"); |