v4l2: Add run-time environment to enable libv4l2
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 24 Jul 2017 18:19:02 +0000 (14:19 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 24 Jul 2017 18:19:02 +0000 (14:19 -0400)
commit31d8a1d929fecd7ceaa7575be5921f9148ed8afb
tree13af2d0e26b70c6dc8a92837a3c5d63c8638e729
parentab3b289bf2575de9f87146c7aa6effe3ff9d272b
v4l2: Add run-time environment to enable libv4l2

The library has started preventing a lot of interesting use cases,
like CREATE_BUFS, DMABuf, usage of TRY_FMT. As the libv4l2 is totally
inactive and not maintained, we decided to disable it. As a convenience
we added a run-time environment that let you enable it for testing.

  GST_V4L2_USE_LIBV4L2=1

This of course only works if you have enabled libv4l2 at build time.
12 files changed:
sys/v4l2/gstv4l2allocator.c
sys/v4l2/gstv4l2allocator.h
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2h264enc.c
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2radio.c
sys/v4l2/gstv4l2sink.c
sys/v4l2/gstv4l2src.c
sys/v4l2/gstv4l2videodec.c
sys/v4l2/gstv4l2videoenc.c
sys/v4l2/v4l2_calls.c