+2005-11-20 Wim Taymans <wim@fluendo.com>
+
+ * docs/design/part-TODO.txt:
+ * gst/gstcaps.h:
+ Make a proper enum of the flag.
+
2005-11-19 Wim Taymans <wim@fluendo.com>
* docs/design/part-TODO.txt:
#define GST_IS_CAPS(object) ((object) && (GST_CAPS(object)->type == GST_TYPE_CAPS))
/**
- * GST_CAPS_FLAGS_ANY:
+ * GstCapsFlags:
+ * @GST_CAPS_FLAGS_ANY: Caps has no specific content, but can contain
+ * anything.
*
- * Flags that this caps has no specific content, but can contain anything.
+ * Extra flags for a caps.
*/
-#define GST_CAPS_FLAGS_ANY (1 << 0)
+typedef enum {
+ GST_CAPS_FLAGS_ANY = (1 << 0)
+} GstCapsFlags;
/**
* GST_CAPS_ANY:
* GstCaps:
* @type: GType of the caps
* @refcount: the atomic refcount value
- * @flags: extra flags for the caps
- * @structs: array of #GstStructure for this caps
+ * @flags: extra flags for the caps, read only.
*
* Object describing media types.
*/
/* refcounting */
gint refcount;
- guint16 flags;
+ /*< public >*/ /* read only */
+ GstCapsFlags flags;
+
+ /*< private >*/
GPtrArray *structs;
/*< private >*/