mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
bin: properly display the type of the removed message
Makes debugging easier. https://bugzilla.gnome.org/show_bug.cgi?id=768579
This commit is contained in:
parent
7a0f4422fa
commit
757a8b04c0
1 changed files with 2 additions and 1 deletions
|
@ -983,7 +983,8 @@ bin_remove_messages (GstBin * bin, GstObject * src, GstMessageType types)
|
||||||
|
|
||||||
if (message_check (message, &find) == 0) {
|
if (message_check (message, &find) == 0) {
|
||||||
GST_DEBUG_OBJECT (GST_MESSAGE_SRC (message),
|
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);
|
bin->messages = g_list_delete_link (bin->messages, walk);
|
||||||
gst_message_unref (message);
|
gst_message_unref (message);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue