Added some debug info
authorWim Taymans <wim.taymans@gmail.com>
Mon, 27 Jan 2003 21:31:58 +0000 (21:31 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 27 Jan 2003 21:31:58 +0000 (21:31 +0000)
Original commit message from CVS:
Added some debug info

gst/autoplug/gstspideridentity.c

index 0db36e8..7992f6d 100644 (file)
@@ -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);