v4l2object: Fix handling of contiuous vs non-contiguous support
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 7 Mar 2014 21:39:29 +0000 (16:39 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 8 May 2014 19:56:35 +0000 (15:56 -0400)
commitf3ce6fd25bdcc61debb0dea0cb75d3674397bf47
treef691066c72ce97e7cfbc6359b11ad688b5ee974a
parenta7286563ee1fb0d3d2b3c24952288a8e493875da
v4l2object: Fix handling of contiuous vs non-contiguous support

The complex mechanic to try and choose the right thing did not work. Instead,
simply probe the non-contiguous format first and then the contiguous one.
This is in fact very low overhead, as there is a relatively small number of
pixel format supported by each devices.
sys/v4l2/gstv4l2object.c