[farsight2/master] Add a bit more debug info

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


---
 gst/fsrtpconference/fs-rtp-session.c   |    3 +++
 gst/fsrtpconference/fs-rtp-substream.c |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index d41cc8d..2af6afc 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -3059,6 +3059,9 @@ _substream_blocked (FsRtpSubStream *substream, FsRtpStream *stream,
       "ssrc", &ssrc,
       NULL);
 
+  GST_DEBUG ("Substream blocked for codec change (session:%d SSRC:%x pt:%d)",
+      session->id, ssrc, pt);
+
   if (!fs_rtp_session_substream_set_codec_bin (session, substream, stream,
           ssrc, pt, &error))
   {
diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index aaa0fde..1c11dbd 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -897,6 +897,9 @@ fs_rtp_sub_stream_set_codecbin (FsRtpSubStream *substream,
     gst_object_unref (pad);
     gst_caps_unref (caps);
 
+    GST_DEBUG ("Could not set the caps on the codecbin, waiting on config-data"
+        " for SSRC:%x pt:%d", substream->priv->ssrc, substream->priv->pt);
+
     /* We call this to drop all buffers until something comes up */
     fs_rtp_sub_stream_add_probe_locked (substream);
     goto error;
-- 
1.5.6.5




More information about the farsight-commits mailing list