[farsight2/master] Improve debugs for stream associations

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


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 988bf04..41c4ae0 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1296,6 +1296,8 @@ _stream_known_source_packet_received (FsRtpStream *stream, guint component,
   FS_RTP_SESSION_LOCK (self);
 
   if (!g_hash_table_lookup (self->priv->ssrc_streams,  GUINT_TO_POINTER (ssrc)))
+  {
+    GST_DEBUG ("Associating SSRC %x in session %d", ssrc, self->id);
     g_hash_table_insert (self->priv->ssrc_streams, GUINT_TO_POINTER (ssrc),
         stream);
 
@@ -3125,7 +3127,7 @@ fs_rtp_session_associate_free_substreams (FsRtpSession *session,
     if (fs_rtp_stream_add_substream (stream, substream, &error))
     {
       fs_rtp_session_verify_substream_locked (session, stream, substream);
-      GST_DEBUG ("Associated SSRC %x to session %u", ssrc, session->id);
+      GST_DEBUG ("Associated SSRC %x in session %u", ssrc, session->id);
     }
     else
     {
-- 
1.5.6.5




More information about the farsight-commits mailing list