From 04a204cd4c8473c5f952ac38f0187c08dd59821b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 29 Mar 2014 10:18:34 +0100 Subject: [PATCH] pad: Include event type in debug output when delaying a sticky event because of not-linked --- gst/gstpad.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index 5b5c9c4..af12ed8 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -4823,7 +4823,8 @@ probe_stopped: } not_linked: { - GST_DEBUG_OBJECT (pad, "Dropping event because pad is not linked"); + GST_DEBUG_OBJECT (pad, "Dropping event %s because pad is not linked", + gst_event_type_get_name (GST_EVENT_TYPE (event))); GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_PENDING_EVENTS); gst_event_unref (event); -- 2.7.4