From: Guillaume Desmottes Date: Fri, 8 Jul 2016 14:29:38 +0000 (+0200) Subject: bin: properly display the type of the removed message X-Git-Tag: 1.10.4~172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=757a8b04c08b785e9d73177d493050c2af94919f;p=platform%2Fupstream%2Fgstreamer.git bin: properly display the type of the removed message Makes debugging easier. https://bugzilla.gnome.org/show_bug.cgi?id=768579 --- diff --git a/gst/gstbin.c b/gst/gstbin.c index c3e6113..e7218f8 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 {