v4l2: fix multiplanar capture
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Fri, 8 Jul 2016 17:28:19 +0000 (17:28 +0000)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Fri, 8 Jul 2016 18:03:51 +0000 (19:03 +0100)
commiteaa01071e0f5eea915edfd3510f6f3b71930576c
treeafe852a39aa51b701b8833949f34a0e20e627599
parent6fe88d8a76bc7150a9ca91416d4b37293375487e
v4l2: fix multiplanar capture

After switching to using V4L2_CAP_DEVICE_CAPS we lost support for
multiplanar device types. After some research, it looks like
vcap.capabilities treated the multiplanar flag of output and capture
devices equally, but not the new device_caps.

https://bugzilla.gnome.org/show_bug.cgi?id=768195
sys/v4l2/v4l2_calls.c