[gstreamer-bugs] [Bug 626181] [pbutils] Add enhanced gstfactorylists
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Aug 16 07:00:21 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=626181
GStreamer | gst-plugins-base | git
--- Comment #16 from Edward Hervey <bilboed at gmail.com> 2010-08-16 14:00:12 UTC ---
(In reply to comment #15)
> Or
>
> typedef enum {
> GST_FACTORY_LIST_DECODER = (G_GUINT64_CONSTANT (1) << 0),
> ...
> } GstFactoryListType;
>
> Maybe you also want to add an ANY constant, which is ~G_GUINT64_CONSTANT (0)
Apart from the fact that some compilers will go nuts on that, it will be
unwrappable by GEnumValue/GFlagValue (which is limited to gint/guint). (Try
adding a item in that enum which exceeds 2**32 and admire how it fails).
That's why I proposed the 64bit version with #defines
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list