v4l2: Use a copy of videodev2.h header
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 15 Mar 2014 10:13:05 +0000 (11:13 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 15 Mar 2014 12:54:47 +0000 (13:54 +0100)
commit418a4940a8c41411cef33a0054879cbd4c9bd181
tree153f48f0406919873990158399de8f6dfe22b538
parent5d06735dbd8d0a2dbfea97088879130a0d7bbf55
v4l2: Use a copy of videodev2.h header

With years the amount of ifdef have grown up and we are not even sure if the
old code path compiles. Each time we need to update the v4l2 framework to add
the new feature, we break compilation on older kernel. With exception of two
controls in the video orientation control, this patch get rid of all ifdef by
including the latest version of videodev2.h inside GStreamer.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723446
12 files changed:
configure.ac
gst-plugins-good.spec.in
sys/Makefile.am
sys/v4l2/ext/v4l2-common.h [new file with mode: 0644]
sys/v4l2/ext/v4l2-controls.h [new file with mode: 0644]
sys/v4l2/ext/videodev2.h [new file with mode: 0644]
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2vidorient.c
sys/v4l2/v4l2_calls.c
tests/icles/Makefile.am