gst/playback/gstplaybin.c: Use GST_PTR_FORMAT to log caps.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (add_sink):
Use GST_PTR_FORMAT to log caps.
This commit is contained in:
Tim-Philipp Müller 2007-03-21 11:03:23 +00:00
parent 77cf4f207c
commit 5b1cd74011
2 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,8 @@
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>

View file

@ -1486,16 +1486,12 @@ link_failed:
}
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 */