qv4l2: Silence Qt build tools invocation if silent mode is enabled

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
buildsystem: Do not bootstrap complete gettext for testing iconv

Automake 1.14 will break with gettext older than 0.18.2 because the
deprecated AM_PROG_MKDIR_P has been removed.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
v4l2-ctl: fix wrong array accesses in selection code.

The code to print, get and set selections was broken: the while condition
increased the index as well, so when accessing elements inside the while the
array index was one too high.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
libv4l2: Add V4L2_PERROR convenience macro

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libv4l2: do not log a ton of errors on device unplug

Signed-off-by: Hans de Goede <hdegoede@redhat.com>