Ignore failed VIDIOC_QUERYCAP.
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Wed, 4 May 2011 09:18:51 +0000 (12:18 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 4 May 2011 11:06:20 +0000 (13:06 +0200)
commit44b4f2484ebb3014868883273a4dd6f6555c401d
tree27ac20a6527e87d6198b3c2c0ad36ec17d10bec2
parent5cd3115fdae5989c5765d7fa53454488a17287c2
Ignore failed VIDIOC_QUERYCAP.

This is not a fatal error, and especially subdevs do not support it. If
VIDIOC_QUERY returns an error, assume the device is a V4L2 subdev and
set the --no-query option.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
yavta.c