summaryrefslogtreecommitdiff
path: root/gst/gstobject.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-11-03 14:22:44 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-11-03 14:22:44 +0000
commitc4abf79f02105ae31ee2cd9427abd35b9e308b5a (patch)
treed1fb988b6ae664eeeb2b9b5a77fba510bcc2d24b /gst/gstobject.h
parent22993965c751b6bfa18d3833d359b79d4c599342 (diff)
downloadgstreamer-c4abf79f02105ae31ee2cd9427abd35b9e308b5a.tar.gz
docs/: Small docs updates.
Original commit message from CVS: * docs/design/part-events.txt: * docs/design/part-gstpipeline.txt: * docs/design/part-messages.txt: * docs/design/part-overview.txt: * docs/design/part-seeking.txt: * docs/design/part-states.txt: * docs/design/part-trickmodes.txt: * docs/manual/advanced-position.xml: Small docs updates. * gst/gstobject.h: People think !! is ugly, this looks better. * gst/gstpad.c: (gst_pad_set_blocked_async): Remove !! since it's fixed elsewhere now.
Diffstat (limited to 'gst/gstobject.h')
-rw-r--r--gst/gstobject.h2
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.