summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-05-07 22:51:41 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-05-07 23:41:39 -0400
commitdabb550aba18486b115fe6b15986222d29ac26ba (patch)
treeb8699c66c1217be25691be7bf87f16b26f4257ba
parent76374a1844b33da20f70b5b2a17f6414d6109482 (diff)
downloadfarstream-dabb550aba18486b115fe6b15986222d29ac26ba.tar.gz
rtpcodecdisco: Use GST_PTR_FORMAT for caps debug
-rw-r--r--gst/fsrtpconference/fs-rtp-discover-codecs.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c
index 6398c059..370d5e48 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -584,7 +584,6 @@ parse_codec_cap_list (GList *list, FsMediaType media_type)
FsCodec *codec;
CodecBlueprint *codec_blueprint;
gint i;
- gchar *tmp;
GstElementFactory *tmpfact;
/* go thru all common caps */
@@ -720,12 +719,8 @@ parse_codec_cap_list (GList *list, FsMediaType media_type)
codec->encoding_name, codec->id,
codec_blueprint->send_pipeline_factory,
codec_blueprint->receive_pipeline_factory);
- tmp = gst_caps_to_string (codec_blueprint->media_caps);
- GST_DEBUG ("media_caps: %s", tmp);
- g_free (tmp);
- tmp = gst_caps_to_string (codec_blueprint->rtp_caps);
- GST_DEBUG ("rtp_caps: %s", tmp);
- g_free (tmp);
+ GST_DEBUG ("media_caps: %" GST_PTR_FORMAT, codec_blueprint->media_caps);
+ GST_DEBUG ("rtp_caps: %" GST_PTR_FORMAT, codec_blueprint->rtp_caps);
debug_pipeline (GST_LEVEL_DEBUG, "send pipeline: ",
codec_blueprint->send_pipeline_factory);
debug_pipeline (GST_LEVEL_DEBUG, "receive pipeline: ",