[Bug 701540] New: v4l2: iterate controls with V4L2_CTRL_FLAG_NEXT_CTRL
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jun 3 09:44:32 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=701540
GStreamer | gst-plugins-good | git
Summary: v4l2: iterate controls with V4L2_CTRL_FLAG_NEXT_CTRL
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: m.olbrich at pengutronix.de
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=245933)
--> (https://bugzilla.gnome.org/attachment.cgi?id=245933)
patch
In v2.6.18 control classes where added to the v4l2 API.
Iterating over CIDs starting with V4L2_CID_BASE will only find controls for
the first control class.
By iterating with V4L2_CTRL_FLAG_NEXT_CTRL all controls are found.
This is necessary to make controls from other control classes available in
the extra-controls property.
What's the policy on backwards compatibility here? V4L2_CTRL_FLAG_NEXT_CTRL was
introduced in v2.6.18. Is this ok, or should I keep the old code as fallback if
V4L2_CTRL_FLAG_NEXT_CTRL is not available?
--
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