ghostpad: Make some debugging more verbose
authorJan Schmidt <thaytan@noraisin.net>
Fri, 31 Aug 2012 13:23:53 +0000 (06:23 -0700)
committerJan Schmidt <thaytan@noraisin.net>
Fri, 31 Aug 2012 13:25:37 +0000 (06:25 -0700)
Also, remove an unnecessary #include in input-selector

gst/gstghostpad.c
plugins/elements/gstinputselector.c

index e6ef133..590737a 100644 (file)
@@ -836,7 +836,8 @@ gst_ghost_pad_set_target (GstGhostPad * gpad, GstPad * newtarget)
 
   if (newtarget) {
     /* and link to internal pad without any checks */
-    GST_DEBUG_OBJECT (gpad, "connecting internal pad to target");
+    GST_DEBUG_OBJECT (gpad, "connecting internal pad to target %"
+        GST_PTR_FORMAT, newtarget);
 
     if (GST_PAD_IS_SRC (internal))
       lret =
index ba675fa..44684ea 100644 (file)
@@ -57,8 +57,6 @@
 
 #include "gstinputselector.h"
 
-#include "gst/glib-compat-private.h"
-
 #define DEBUG_CACHED_BUFFERS 0
 
 GST_DEBUG_CATEGORY_STATIC (input_selector_debug);