From 07e409f402e2be2bbec30232d3d2237508119a81 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 27 Jan 2003 21:31:58 +0000 Subject: [PATCH] Added some debug info Original commit message from CVS: Added some debug info --- gst/autoplug/gstspideridentity.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/autoplug/gstspideridentity.c b/gst/autoplug/gstspideridentity.c index 0db36e8996..7992f6d4a4 100644 --- a/gst/autoplug/gstspideridentity.c +++ b/gst/autoplug/gstspideridentity.c @@ -480,8 +480,10 @@ gst_spider_identity_sink_loop_type_finding (GstSpiderIdentity *ident) GstTypeFindFunc typefindfunc = (GstTypeFindFunc)factory->typefindfunc; GstCaps *caps; + GST_DEBUG (0, "trying typefind function %s", GST_PLUGIN_FEATURE_NAME (factory)); if (typefindfunc && (caps = typefindfunc (buf, factory))) { + gst_caps_debug (caps, "spider typefind caps"); /* pause the autoplugger */ if (gst_element_get_state (GST_ELEMENT (GST_ELEMENT_PARENT(ident))) == GST_STATE_PLAYING) { gst_element_set_state (GST_ELEMENT (GST_ELEMENT_PARENT(ident)), GST_STATE_PAUSED);