diff options
Diffstat (limited to 'gst/gstobject.h')
-rw-r--r-- | gst/gstobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstobject.h b/gst/gstobject.h index bb12839b57..5fd719c8db 100644 --- a/gst/gstobject.h +++ b/gst/gstobject.h @@ -147,7 +147,7 @@ typedef enum * * This macro checks to see if the given flag is set. */ -#define GST_OBJECT_FLAG_IS_SET(obj,flag) !!(GST_OBJECT_FLAGS (obj) & (flag)) +#define GST_OBJECT_FLAG_IS_SET(obj,flag) ((GST_OBJECT_FLAGS (obj) & (flag)) == (flag)) /** * GST_OBJECT_FLAG_SET: * @obj: Object to set flag in. |