On 11 January 2009 23:57:17 Hans de Goede wrote:
> Why not just make the jpeg flag an int, set it to -1 by default and make
> the speed check:
>
> if (jpeg == -1) {
> if (dev->udev->speed == USB_SPEED_HIGH && bandwidth == 8)
> jpeg = 0;
> else
> jpeg = 1;
> }
>
> Then default jpeg will depend on speed, and the user can force it either
> way.
>
> Regards,
>
> HansGood solution too, but I think jpeg should be always enable on usb1, as usb1 has no enought bandwidth for i420 or bayer; and it should be optional on usb2
signature.asc
Description: This is a digitally signed message part.
