commit | f4b06ac0af494206743189ebad570784cd7797b5 | [log] [tgz] |
---|---|---|
author | Alberto Panizzo <alberto@amarulasolutions.com> | Sat Jul 06 18:27:43 2013 +0200 |
committer | Alberto Panizzo <alberto@amarulasolutions.com> | Sat Jul 06 18:36:49 2013 +0200 |
tree | 6cb33fd21a55b093a6ab457dd172c62499c893ae | |
parent | bbbfb37e9ab96a03d91d439a9a5aeae7251ee1e6 [diff] |
V4L2Camera: Check that the camera accept the frame size as well not only the pixel format USB UVC cameras may support different frame size sets for different pixel formats. So do not limitate to check that the current format is supported and then set the frame size but check that this frame size _with_ this pixel format works. Real case is a camera that accepts only QCIF in YUYV but can do VGA in MJPEG Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>