add useful debugging output
authorjim thornton <jthornton@parc.com>
Tue, 2 Apr 2002 16:38:05 +0000 (16:38 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 2 Apr 2002 16:38:05 +0000 (16:38 +0000)
Original commit message from CVS:
patch from jim thornton <jthornton@parc.com>:

add useful debugging output

gst/gstpad.c

index eb3f2a7..ddc0f05 100644 (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))) {
       GST_INFO (GST_CAT_CAPS, "caps did not intersect with %s:%s's padtemplate",
                 GST_DEBUG_PAD_NAME (pad));
+      gst_caps_debug (caps, "caps themselves (attemped to set)");
       gst_caps_debug (gst_padtemplate_get_caps (template),
                       "pad template caps that did not agree with caps");
       return GST_PAD_CONNECT_REFUSED;