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>
1 file changed
tree: 27ac20a6527e87d6198b3c2c0ad36ec17d10bec2
  1. COPYING.GPL
  2. Makefile
  3. yavta.c