2007-03-21 Tim-Philipp Müller <tim at centricular dot net>
+ * gst/playback/gstplaybin.c: (add_sink):
+ Use GST_PTR_FORMAT to log caps.
+
+2007-03-21 Tim-Philipp Müller <tim at centricular dot net>
+
Patch by: Young-Ho Cha <ganadist at chollian net>
* gst/subparse/samiparse.c: (handle_start_font):
}
subtitle_failed:
{
- gchar *capsstr;
GstCaps *caps;
/* could not link this stream */
caps = gst_pad_get_caps (subtitle_pad);
- capsstr = gst_caps_to_string (caps);
- GST_DEBUG_OBJECT (play_bin,
- "subtitle link failed when adding sink, caps %s, reason %d", capsstr,
- linkres);
- g_free (capsstr);
+ GST_WARNING_OBJECT (play_bin, "subtitle link failed when adding sink, "
+ "caps = %" GST_PTR_FORMAT ", reason %d", caps, linkres);
gst_caps_unref (caps);
/* not fatal */