[farsight2/master] Improve debug messages

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:24:10 PST 2008


---
 gst/fsrtpconference/fs-rtp-session.c       |    2 +-
 gst/fsrtpconference/fs-rtp-specific-nego.c |    3 +++
 gst/fsrtpconference/fs-rtp-substream.c     |    4 ++++
 3 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 374258a..7936660 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2536,7 +2536,7 @@ fs_rtp_session_get_recv_codec_locked (FsRtpSession *session,
     }
     else
     {
-      GST_DEBUG ("Had stream, but it did not have negotiatied codec");
+      GST_DEBUG ("Have stream, but it does not have negotiatied codec");
       recv_codec = NULL;
     }
 
diff --git a/gst/fsrtpconference/fs-rtp-specific-nego.c b/gst/fsrtpconference/fs-rtp-specific-nego.c
index 73cdb93..0cf9f55 100644
--- a/gst/fsrtpconference/fs-rtp-specific-nego.c
+++ b/gst/fsrtpconference/fs-rtp-specific-nego.c
@@ -490,6 +490,9 @@ static FsCodec *
 sdp_is_compat_theora_vorbis (FsCodec *local_codec, FsCodec *remote_codec,
 gboolean validate_config)
 {
+
+  GST_DEBUG ("Using THEORA/VORBIS negotiation function");
+
   if (validate_config &&
       !fs_codec_get_optional_parameter (remote_codec, "configuration", NULL))
     return NULL;
diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index e4628b0..1a621a3 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -1168,6 +1168,10 @@ fs_rtp_sub_stream_add_probe_locked (FsRtpSubStream *substream)
 void
 fs_rtp_sub_stream_verify_codec_locked (FsRtpSubStream *substream)
 {
+  GST_LOG ("Starting codec verification process for substream with"
+      " SSRC:%x pt:%d", substream->priv->ssrc, substream->priv->pt);
+
+
   fs_rtp_sub_stream_add_probe_locked (substream);
 
   gst_pad_set_blocked_async (substream->priv->rtpbin_pad, TRUE,
-- 
1.5.6.5




More information about the farsight-commits mailing list