add useful debugging output

Original commit message from CVS:
patch from jim thornton <jthornton@parc.com>:

add useful debugging output
This commit is contained in:
jim thornton 2002-04-02 16:38:05 +00:00 committed by Andy Wingo
parent 7fb5bcfdff
commit d43b8925f4

View file

@ -980,6 +980,7 @@ gst_pad_try_set_caps_func (GstRealPad *pad, GstCaps *caps, gboolean notify)
if (!gst_caps_intersect (caps, gst_padtemplate_get_caps (template))) { if (!gst_caps_intersect (caps, gst_padtemplate_get_caps (template))) {
GST_INFO (GST_CAT_CAPS, "caps did not intersect with %s:%s's padtemplate", GST_INFO (GST_CAT_CAPS, "caps did not intersect with %s:%s's padtemplate",
GST_DEBUG_PAD_NAME (pad)); GST_DEBUG_PAD_NAME (pad));
gst_caps_debug (caps, "caps themselves (attemped to set)");
gst_caps_debug (gst_padtemplate_get_caps (template), gst_caps_debug (gst_padtemplate_get_caps (template),
"pad template caps that did not agree with caps"); "pad template caps that did not agree with caps");
return GST_PAD_CONNECT_REFUSED; return GST_PAD_CONNECT_REFUSED;