gstreamer/sys
William Manley d3bd3ecc3e v4l2: Normalise control names in the same way as v4l2-ctl
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.  Backwards compatibility is preserved by
normalising all control names before comparison.

https://bugzilla.gnome.org/show_bug.cgi?id=725632
2014-03-08 19:27:54 -05:00
..
directsound directsoundsink: WAVEFORMATEX is unsigned for 8 bit integers, and signed for others 2013-08-21 16:41:21 +02:00
oss osshelper: Don't leak fd when getting card name 2014-01-14 11:28:31 +01:00
oss4 oss4: Fix typo in header include guard 2014-02-08 17:25:27 +01:00
osxaudio osxaudio: remove unused variables 2014-02-19 22:21:54 +01:00
osxvideo osxvideo: fix build on Mac OSX Mavericks and put new window in front 2014-03-05 20:35:31 +01:00
sunaudio Don't use setlocale in plugins() 2013-09-01 21:18:38 +01:00
v4l2 v4l2: Normalise control names in the same way as v4l2-ctl 2014-03-08 19:27:54 -05:00
waveform gst: Add better support for static plugins 2013-04-15 15:54:11 +02:00
ximage docs: get rid of 'Since: 0.10.x' markers 2013-11-18 14:47:35 +00:00
Makefile.am waveform: add autotools bits for waveform plugin 2011-12-26 22:22:59 +00:00