Re: [PATCH] uvc: fix cropcap v4l2-compliance failure

2015-04-04 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Friday 03 April 2015 11:53:42 Hans Verkuil wrote: The v4l2-compliance tool expects that if VIDIOC_CROPCAP is defined, then VIDIOC_G_SELECTION for TGT_CROP_BOUNDS/DEFAULT is also defined (or COMPOSE in the case of an output device). In fact, all that a

[PATCH] uvc: fix cropcap v4l2-compliance failure

2015-04-03 Thread Hans Verkuil
The v4l2-compliance tool expects that if VIDIOC_CROPCAP is defined, then VIDIOC_G_SELECTION for TGT_CROP_BOUNDS/DEFAULT is also defined (or COMPOSE in the case of an output device). In fact, all that a driver has to do to implement cropcap is to support those two targets since the v4l2 core will