[farsight2/master] Add debug to substream caps

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


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

diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index f67e8f6..aacac40 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -791,6 +791,7 @@ fs_rtp_sub_stream_set_codecbin (FsRtpSubStream *substream,
     GError **error)
 {
   GstCaps *caps = NULL;
+  gchar *tmp;
 
   FS_RTP_SESSION_LOCK (substream->priv->session);
 
@@ -847,6 +848,9 @@ fs_rtp_sub_stream_set_codecbin (FsRtpSubStream *substream,
   }
 
   caps = fs_codec_to_gst_caps (codec);
+  tmp = gst_caps_to_string (caps);
+  GST_DEBUG ("Setting caps %s on recv substream", tmp);
+  g_free (tmp);
   g_object_set (substream->priv->capsfilter, "caps", caps, NULL);
   gst_caps_unref (caps);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list