[Bug 725632] New: v4l2: Normalise control names in the same way as v4l2-ctl
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Mar 3 16:58:39 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=725632
GStreamer | gst-plugins-good | 1.2.3
Summary: v4l2: Normalise control names in the same way as
v4l2-ctl
Classification: Platform
Product: GStreamer
Version: 1.2.3
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: gnome at williammanley.net
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=270862)
View: https://bugzilla.gnome.org/attachment.cgi?id=270862
Review: https://bugzilla.gnome.org/review?bug=725632&attachment=270862
Patch to fix this issue
V4L2 kernel drivers allow configuration of the hardware settings via a
mechanism called controls. These can be referred to by name such as
"Brightness" and "White Balance Temperature". The user-space command line
client for setting these controls (v4l2-ctl) normalises these names such
that they only contain lower case alphanumeric characters and the
underscore '_'. e.g:
Kernel v4l2-ctl
----------------------------------------------------
Brightness brightness
White Balance Temperature white_balance_temperature
Focus (absolute) focus_absolute
GStreamer seems to want to follow this pattern but failed for controls with
more than one consecutive non-alphanum character. e.g. GStreamer would
produce "focus__absolute_" rather than "focus_absolute".
This commit fixes that issue.
--
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