Some more debugging info
authorWim Taymans <wim.taymans@gmail.com>
Thu, 23 Jan 2003 19:36:47 +0000 (19:36 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 23 Jan 2003 19:36:47 +0000 (19:36 +0000)
Original commit message from CVS:
Some more debugging info

gst/autoplug/gstsearchfuncs.c
gst/gstevent.c

index a0d8e6f..2308eae 100644 (file)
@@ -146,7 +146,7 @@ gst_autoplug_can_match (GstElementFactory *src, GstElementFactory *dest)
           if (gst_autoplug_caps_intersect (gst_pad_template_get_caps (srctemp), 
               gst_pad_template_get_caps (desttemp))) {
             GST_DEBUG (GST_CAT_AUTOPLUG_ATTEMPT,
-                       "factory \"%s\" can connect with factory \"%s\"\n", 
+                       "factory \"%s\" can connect with factory \"%s\"", 
                        GST_OBJECT_NAME (src), GST_OBJECT_NAME (dest));
             return desttemp;
          }
@@ -157,7 +157,7 @@ gst_autoplug_can_match (GstElementFactory *src, GstElementFactory *dest)
     srctemps = g_list_next (srctemps);
   }
   GST_DEBUG (GST_CAT_AUTOPLUG_ATTEMPT,
-             "factory \"%s\" cannot connect with factory \"%s\"\n", 
+             "factory \"%s\" cannot connect with factory \"%s\"", 
              GST_OBJECT_NAME (src), GST_OBJECT_NAME (dest));
   return NULL;
 }
index d0624a1..52d9554 100644 (file)
@@ -131,7 +131,7 @@ gst_event_new (GstEventType type)
 
   event = g_new0(GstEvent, 1);
   _gst_event_live++;
-  GST_INFO (GST_CAT_EVENT, "creating new event %p", event);
+  GST_INFO (GST_CAT_EVENT, "creating new event %p %d", event, type);
 
   _GST_DATA_INIT (GST_DATA (event),
                  _gst_event_type,