On Friday 18 July 2008, Alex Pounds wrote:
> On Thu, Jul 17, 2008 at 01:46:52PM +0200, Laurent Pinchart wrote:
> > The auto-exposure control supports the following values:
> >
> >   0: Manual Mode
> >   1: Auto Mode
> >   2: Shutter Priority Mode
> >   3: Aperture Priority Mode
> >
> > Instead of hard-coding the value, use the v4l2_exposure_auto_type enum
> > defined in linux/videodev2.h (Linux 2.6.26 or newer).
> >
> > enum  v4l2_exposure_auto_type {
> >         V4L2_EXPOSURE_AUTO = 0,
> >         V4L2_EXPOSURE_MANUAL = 1,
> >         V4L2_EXPOSURE_SHUTTER_PRIORITY = 2,
> >         V4L2_EXPOSURE_APERTURE_PRIORITY = 3
> > };
>
> The constants and your description seem to have 0 and 1 transposed. Which
> is correct?

The second is correct, but the uvcvideo driver currently implements the first. 
I've fixed this in SVN. Thanks for reporting the issue.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to