projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
caps: gst_caps_is_any() should return TRUE or FALSE
[platform/upstream/gstreamer.git]
/
gst
/
gstcaps.c
diff --git
a/gst/gstcaps.c
b/gst/gstcaps.c
index
ea0718c
..
4525ead
100644
(file)
--- a/
gst/gstcaps.c
+++ b/
gst/gstcaps.c
@@
-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) \