From 757a8b04c08b785e9d73177d493050c2af94919f Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 8 Jul 2016 16:29:38 +0200 Subject: [PATCH] bin: properly display the type of the removed message Makes debugging easier. https://bugzilla.gnome.org/show_bug.cgi?id=768579 --- gst/gstbin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/gstbin.c b/gst/gstbin.c index c3e61138e8..e7218f8c0c 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -983,7 +983,8 @@ bin_remove_messages (GstBin * bin, GstObject * src, GstMessageType types) if (message_check (message, &find) == 0) { GST_DEBUG_OBJECT (GST_MESSAGE_SRC (message), - "deleting message %p of types 0x%08x", message, types); + "deleting message %p of type %s (types 0x%08x)", message, + GST_MESSAGE_TYPE_NAME (message), types); bin->messages = g_list_delete_link (bin->messages, walk); gst_message_unref (message); } else {