mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this enum an enum and not a flags.
Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * gst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this enum an enum and not a flags.
This commit is contained in:
parent
c253951dcd
commit
1b38cd4afa
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-09-02 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gstelement.h: Add magical pixie dust to make glib-mkenums
|
||||
consider this enum an enum and not a flags.
|
||||
|
||||
2005-09-02 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* docs/gst/gstreamer-docs.sgml:
|
||||
|
|
|
@ -98,7 +98,7 @@ _gst_element_get_state_change (GstElement *e)
|
|||
#endif
|
||||
|
||||
/* FIXME: How to deal with lost_state ? */
|
||||
typedef enum
|
||||
typedef enum /*< flags=0 >*/
|
||||
{
|
||||
GST_STATE_CHANGE_NULL_TO_READY = 1<<(GST_STATE_NULL+8) | 1<<GST_STATE_READY,
|
||||
GST_STATE_CHANGE_READY_TO_PAUSED = 1<<(GST_STATE_READY+8) | 1<<GST_STATE_PAUSED,
|
||||
|
|
Loading…
Reference in a new issue