[gst-devel] Confusion about GstEventMask structure...
in7y118 at public.uni-hamburg.de
Wed Jul 16 12:47:07 CEST 2003
If you want my opinion: The current event API/code sucks.
I don't understand this either and I consider myself quite good in
I don't want to have flags, methods and types in one int. That's
confusing like hell.
I don't know if GstEventFlags are even used, or I could look it up. :/
who just tried to write a new plugin.
On Tue, 15 Jul 2003, Brett Kosinski wrote:
> The GstEventMask structure claims to contain the following:
> GstEventType type;
> GstEventFlag flags;
> 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
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
More information about the gstreamer-devel