diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-05-28 17:33:13 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-05-28 17:33:13 +0000 |
commit | 8f1c9746eae406efa1619a890bfc35d96fb485e4 (patch) | |
tree | dd24a2bd85f2479b79262269f005a000a40d84d3 /gst/debug | |
parent | a2dbc8ad4322dcd67406509215eef6fc5c01c17f (diff) |
gst/: GST_PTR_FORMAT should be used to print caps in debug statements.
Original commit message from CVS:
* gst/alpha/gstalphacolor.c: (gst_alpha_color_transform_caps):
* gst/debug/negotiation.c: (gst_negotiation_update_caps):
* gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_setcaps):
GST_PTR_FORMAT should be used to print caps in debug statements.
Diffstat (limited to 'gst/debug')
-rw-r--r-- | gst/debug/negotiation.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gst/debug/negotiation.c b/gst/debug/negotiation.c index 21357da3..e90cb4c5 100644 --- a/gst/debug/negotiation.c +++ b/gst/debug/negotiation.c @@ -237,7 +237,6 @@ gst_negotiation_update_caps (GstNegotiation * negotiation) GstCaps *srccaps; GstCaps *sinkcaps; GstCaps *icaps; - gchar *icapsstr; srccaps = gst_pad_get_allowed_caps (negotiation->srcpad); sinkcaps = gst_pad_get_allowed_caps (negotiation->sinkpad); @@ -248,9 +247,7 @@ gst_negotiation_update_caps (GstNegotiation * negotiation) gst_caps_replace (&negotiation->caps, icaps); g_object_notify (G_OBJECT (negotiation), "allowed-caps"); - icapsstr = gst_caps_to_string (icaps); - GST_DEBUG ("notify %s", icapsstr); - g_free (icapsstr); + GST_DEBUG ("notify %" GST_PTR_FORMAT, icaps); } static void |