From 5f469abbed914334445b3f436a556811746d0598 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 10 Nov 2018 20:41:40 +0200 Subject: [PATCH] debugutils: Make sure that GST_DEBUG_GRAPH_SHOW_VERBOSE gets the correct value in introspection Currently in Python it would become a signed 64 bit value but should actually be an unsigned 32 bit value with all bits set. This is the same problem as with GST_MESSAGE_TYPE_ANY. See https://bugzilla.gnome.org/show_bug.cgi?id=732633 --- gst/gstdebugutils.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gst/gstdebugutils.h b/gst/gstdebugutils.h index e0d6025..3808fc6 100644 --- a/gst/gstdebugutils.h +++ b/gst/gstdebugutils.h @@ -45,6 +45,9 @@ G_BEGIN_DECLS * Available details for pipeline graphs produced by GST_DEBUG_BIN_TO_DOT_FILE() * and GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(). */ +/* FIXME: For GST_DEBUG_GRAPH_SHOW_VERBOSE ~0 -> 0xffffffff see + * https://bugzilla.gnome.org/show_bug.cgi?id=732633 +*/ typedef enum { GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE = (1<<0), GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS = (1<<1), @@ -52,7 +55,7 @@ typedef enum { GST_DEBUG_GRAPH_SHOW_STATES = (1<<3), GST_DEBUG_GRAPH_SHOW_FULL_PARAMS = (1<<4), GST_DEBUG_GRAPH_SHOW_ALL = ((1<<4)-1), - GST_DEBUG_GRAPH_SHOW_VERBOSE = (-1) + GST_DEBUG_GRAPH_SHOW_VERBOSE = (gint) (0xffffffff) } GstDebugGraphDetails; -- 2.7.4