[gst-devel] Confusion about GstEventMask structure...

Ronald Bultje rbultje at ronald.bitfreak.net
Tue Jul 15 22:44:18 CEST 2003

Hey Brett,

On Wed, 2003-07-16 at 05:19, Brett Kosinski wrote:
> My problem is with the flags variable.  Now, from the structure, one would
> expect the values registered to the GstEventFlag type to be used.
> However, this is not the case.  For example, in the vorbisfile plugin,
> values from GstSeekType are used.  So, my guess is that the value of
> "type" determines the type of flags which are found in the flags variable.
> Is this interpretation correct?  If so, this is a bit misleading, since I
> expect GstEventFlag values to be in flags, not, for example, GstSeekType
> values.

In short, yes, it's misleading. However, the seek type isn't a flag,
because all values are mutually exclusive. That's why it's done this


Ronald Bultje <rbultje at ronald.bitfreak.net>

More information about the gstreamer-devel mailing list