From 42fcb1175b53704690efd15960386571b64e7d60 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 10 Oct 2011 11:02:08 +0200 Subject: [PATCH] gstpad: Add debug to know what events are transferred between pads --- gst/gstpad.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/gstpad.c b/gst/gstpad.c index f8026d77e1..a99ab6730d 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -389,6 +389,9 @@ replace_event (GstPad * srcpad, GstPad * sinkpad, guint idx) } if (sinkev->event != event) { /* put in the pending entry when different */ + GST_CAT_DEBUG_OBJECT (GST_CAT_SCHEDULING, srcpad, + "Putting event %p (%s) on pad %s:%s", event, + GST_EVENT_TYPE_NAME (event), GST_DEBUG_PAD_NAME (sinkpad)); gst_event_replace (&sinkev->pending, event); pending = TRUE; } -- 2.34.1