Tested a Logitech Webcam C930e which has 17 frame sizes but video(1) only
supports 16 today. Bump the array to 32 which makes 1920x1080 work on this device as well. OK deraadt
This commit is contained in:
parent
96afcbe794
commit
1d6efe8e23
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: video.c,v 1.28 2019/02/25 12:34:35 rapha Exp $ */
|
||||
/* $OpenBSD: video.c,v 1.29 2019/11/06 05:46:51 mglocker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2010 Jacob Meuser <jakemsr@openbsd.org>
|
||||
*
|
||||
@ -128,7 +128,7 @@ struct dim {
|
||||
struct dev {
|
||||
char path[FILENAME_MAX];
|
||||
int fd;
|
||||
#define MAX_DSZS 16
|
||||
#define MAX_DSZS 32
|
||||
struct dim sizes[MAX_DSZS];
|
||||
#define MAX_RATES 32
|
||||
int rates[MAX_DSZS][MAX_RATES];
|
||||
|
Loading…
Reference in New Issue
Block a user