pad: Print some debug information about pad probe hooks we remove
authorSebastian Dröge <sebastian@centricular.com>
Fri, 14 Dec 2018 16:37:53 +0000 (18:37 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 14 Dec 2018 16:37:53 +0000 (18:37 +0200)
gst/gstpad.c

index aeb15ce..ebc184c 100644 (file)
@@ -1372,6 +1372,10 @@ cleanup_hook (GstPad * pad, GHook * hook)
 {
   GstPadProbeType type;
 
+  GST_DEBUG_OBJECT (pad,
+      "cleaning up hook %" G_GUINT64_FORMAT " with flags %08x", hook->hook_id,
+      hook->flags);
+
   if (!G_HOOK_IS_VALID (hook))
     return;