pad: Include event type in debug output when delaying a sticky event because of not...
authorSebastian Dröge <sebastian@centricular.com>
Sat, 29 Mar 2014 09:18:34 +0000 (10:18 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 29 Mar 2014 09:32:25 +0000 (10:32 +0100)
gst/gstpad.c

index 5b5c9c4..af12ed8 100644 (file)
@@ -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);