From d43b8925f42a1a219855627b6251dba7567d11b1 Mon Sep 17 00:00:00 2001 From: jim thornton Date: Tue, 2 Apr 2002 16:38:05 +0000 Subject: [PATCH] add useful debugging output Original commit message from CVS: patch from jim thornton : add useful debugging output --- gst/gstpad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/gstpad.c b/gst/gstpad.c index eb3f2a7987..ddc0f055f1 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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;