mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
caps: gst_caps_is_any() should return TRUE or FALSE
Not some flag value instead of TRUE. Fixes code like gst_caps_is_any() == TRUE. https://bugzilla.gnome.org//show_bug.cgi?id=731704
This commit is contained in:
parent
2092754ed1
commit
8e30a9462c
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ typedef struct _GstCapsImpl
|
|||
|
||||
/* same as gst_caps_is_any () */
|
||||
#define CAPS_IS_ANY(caps) \
|
||||
(GST_CAPS_FLAGS(caps) & GST_CAPS_FLAG_ANY)
|
||||
(!!(GST_CAPS_FLAGS(caps) & GST_CAPS_FLAG_ANY))
|
||||
|
||||
/* same as gst_caps_is_empty () */
|
||||
#define CAPS_IS_EMPTY(caps) \
|
||||
|
|
Loading…
Reference in a new issue