better debug info

Original commit message from CVS:
better debug info
This commit is contained in:
Thomas Vander Stichele 2004-04-07 10:42:16 +00:00
parent 8f67419fcd
commit 4e2a0b01e9

View file

@ -2377,8 +2377,9 @@ gst_pad_set_explicit_caps (GstPad * pad, const GstCaps * caps)
g_return_val_if_fail (GST_IS_PAD (pad), FALSE); g_return_val_if_fail (GST_IS_PAD (pad), FALSE);
GST_CAT_DEBUG (GST_CAT_PADS, "setting explicit caps to %" GST_PTR_FORMAT, GST_CAT_DEBUG (GST_CAT_PADS,
caps); "setting explicit caps on %s:%s to %" GST_PTR_FORMAT,
GST_DEBUG_PAD_NAME (pad), caps);
if (caps == NULL) { if (caps == NULL) {
GST_CAT_DEBUG (GST_CAT_PADS, "caps is NULL"); GST_CAT_DEBUG (GST_CAT_PADS, "caps is NULL");