[gstreamer-bugs] [Bug 593764] [v4l2src] format ordering: put emulated formats behind native formats
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Sep 3 23:42:03 PDT 2009
http://bugzilla.gnome.org/show_bug.cgi?id=593764
--- Comment #2 from Hans de Goede <jwrdegoede at fedoraproject.org> 2009-09-04 06:41:58 UTC ---
Hi,
I noticed you do the following:
+#ifdef V4L2_FMT_FLAG_EMULATED
+ gboolean emulated = ((flags & V4L2_FMT_FLAG_EMULATED) != 0);
+#else
+ gboolean emulated = FALSE;
+#endif
Notice however that the V4L2_FMT_FLAG_EMULATED won't show up in Linux kernel
headers until 2.6.32, where as many distro's will (hopefully) have libv4l-0.6.1
which sets this flag before then.
libv4l contains the following which you may want to use (for a while atleast)
instead:
#ifndef V4L2_FMT_FLAG_EMULATED
#define V4L2_FMT_FLAG_EMULATED 0x0002
#endif
Regards,
Hans
--
Configure bugmail: http://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