+2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ * gst/ffmpegcolorspace/gstffmpegcodecmap.c:
+ (gst_ffmpeg_pixfmt_to_caps):
+ Only convert caps to string when debug is enabled.
+
2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
* ext/theora/gsttheoradec.h:
}
if (caps != NULL) {
- char *str = gst_caps_to_string (caps);
-
- GST_DEBUG ("caps for pix_fmt=%d: %s", pix_fmt, str);
- g_free (str);
+ GST_DEBUG ("caps for pix_fmt=%d: %" GST_PTR_FORMAT, pix_fmt, caps);
} else {
GST_LOG ("No caps found for pix_fmt=%d", pix_fmt);
}
}
if (caps != NULL) {
- char *str = gst_caps_to_string (caps);
-
- GST_DEBUG ("caps for sample_fmt=%d: %s", sample_fmt, str);
- g_free (str);
+ GST_DEBUG ("caps for sample_fmt=%d: %" GST_PTR_FORMAT, sample_fmt, caps);
} else {
GST_LOG ("No caps found for sample_fmt=%d", sample_fmt);
}