mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:56:16 +00:00
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:
parent
77cf4f207c
commit
5b1cd74011
2 changed files with 7 additions and 6 deletions
|
@ -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>
|
2007-03-21 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
Patch by: Young-Ho Cha <ganadist at chollian net>
|
Patch by: Young-Ho Cha <ganadist at chollian net>
|
||||||
|
|
|
@ -1486,16 +1486,12 @@ link_failed:
|
||||||
}
|
}
|
||||||
subtitle_failed:
|
subtitle_failed:
|
||||||
{
|
{
|
||||||
gchar *capsstr;
|
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
/* could not link this stream */
|
/* could not link this stream */
|
||||||
caps = gst_pad_get_caps (subtitle_pad);
|
caps = gst_pad_get_caps (subtitle_pad);
|
||||||
capsstr = gst_caps_to_string (caps);
|
GST_WARNING_OBJECT (play_bin, "subtitle link failed when adding sink, "
|
||||||
GST_DEBUG_OBJECT (play_bin,
|
"caps = %" GST_PTR_FORMAT ", reason %d", caps, linkres);
|
||||||
"subtitle link failed when adding sink, caps %s, reason %d", capsstr,
|
|
||||||
linkres);
|
|
||||||
g_free (capsstr);
|
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
/* not fatal */
|
/* not fatal */
|
||||||
|
|
Loading…
Reference in a new issue