There are UVC cams out there supporting more than 16 frame sizes.
E.g. the Logitech Webcam C930e which I've tested today, which
comes with 17 frame sizes.
This makes 1920x1080 work on this cam as well with video(1).
OK?
Index: video.c
===================================================================
RCS file: /cvs/xenocara/app/video/video.c,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 video.c
--- video.c 25 Feb 2019 12:34:35 -0000 1.28
+++ video.c 5 Nov 2019 21:40:33 -0000
@@ -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];