gstpad: Add debug to know what events are transferred between pads

This commit is contained in:
Edward Hervey 2011-10-10 11:02:08 +02:00
parent 2ba6017363
commit 42fcb1175b

View file

@ -389,6 +389,9 @@ replace_event (GstPad * srcpad, GstPad * sinkpad, guint idx)
} }
if (sinkev->event != event) { if (sinkev->event != event) {
/* put in the pending entry when different */ /* 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); gst_event_replace (&sinkev->pending, event);
pending = TRUE; pending = TRUE;
} }