mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
segment: mark GstSegmentFlags as flags rather than enum
... which really makes a difference when trying to serialize a flags value which is a combination of flags, which is hard to do as an enum type.
This commit is contained in:
parent
b14a3ad4ef
commit
cc41130664
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ typedef enum {
|
|||
* values of the seek flags.
|
||||
*/
|
||||
/* Note: update gst_segment_do_seek() when adding new flags here */
|
||||
typedef enum {
|
||||
typedef enum { /*< flags >*/
|
||||
GST_SEGMENT_FLAG_NONE = GST_SEEK_FLAG_NONE,
|
||||
GST_SEGMENT_FLAG_RESET = GST_SEEK_FLAG_FLUSH,
|
||||
GST_SEGMENT_FLAG_SKIP = GST_SEEK_FLAG_SKIP,
|
||||
|
|
Loading…
Reference in a new issue