diff options
author | Paul de Weerd <weerd@cvs.openbsd.org> | 2010-11-27 00:38:30 +0000 |
---|---|---|
committer | Paul de Weerd <weerd@cvs.openbsd.org> | 2010-11-27 00:38:30 +0000 |
commit | d4c9b81d01d015e2eefe4079b309b1aefff98be6 (patch) | |
tree | bb90bfad15c8b395b8ea5f852c5850ba57133269 | |
parent | 1d59d580320af3ac86acd6108dfae18d1a18ae66 (diff) |
Increase UVIDEO_MAX_FRAME to 32 to support 28 possible frame types on
Logitech HD Pro Webcam C910 (and probably others) to make it work.
Debugging, suggested and ok jakemsr@
-rw-r--r-- | sys/dev/usb/uvideo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uvideo.h b/sys/dev/usb/uvideo.h index 44cb38d37a9..011b9f0eb7d 100644 --- a/sys/dev/usb/uvideo.h +++ b/sys/dev/usb/uvideo.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.h,v 1.50 2010/10/09 09:48:04 jakemsr Exp $ */ +/* $OpenBSD: uvideo.h,v 1.51 2010/11/27 00:38:29 weerd Exp $ */ /* * Copyright (c) 2007 Robert Nagy <robert@openbsd.org> @@ -480,7 +480,7 @@ struct uvideo_format_group { uint8_t format_dfidx; struct uvideo_format_desc *format; /* frame descriptors for mjpeg and uncompressed are identical */ -#define UVIDEO_MAX_FRAME 24 +#define UVIDEO_MAX_FRAME 32 struct usb_video_frame_mjpeg_desc *frame_cur; struct usb_video_frame_mjpeg_desc *frame[UVIDEO_MAX_FRAME]; int frame_num; |