diff --git a/gst/gstpad.c b/gst/gstpad.c index aeb15ce74a..ebc184c8c1 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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;