mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
Make a proper enum of the flag.
Original commit message from CVS: * docs/design/part-TODO.txt: * gst/gstcaps.h: Make a proper enum of the flag.
This commit is contained in:
parent
8d46970ed8
commit
deacfd8e89
2 changed files with 18 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
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:
|
||||
|
|
|
@ -30,11 +30,15 @@ G_BEGIN_DECLS
|
|||
#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:
|
||||
|
@ -125,8 +129,7 @@ typedef struct _GstStaticCaps GstStaticCaps;
|
|||
* 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.
|
||||
*/
|
||||
|
@ -137,7 +140,10 @@ struct _GstCaps {
|
|||
/* refcounting */
|
||||
gint refcount;
|
||||
|
||||
guint16 flags;
|
||||
/*< public >*/ /* read only */
|
||||
GstCapsFlags flags;
|
||||
|
||||
/*< private >*/
|
||||
GPtrArray *structs;
|
||||
|
||||
/*< private >*/
|
||||
|
|
Loading…
Reference in a new issue