From b012e4c0c50256c73acc0094e744ea17e11ce751 Mon Sep 17 00:00:00 2001 From: Sergi Granell Date: Sun, 6 Jan 2019 12:24:51 +0100 Subject: [PATCH] Fix NV12 bNumFrameDescriptors value (spotted by u/Kaizu_vita) --- usb_descriptors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb_descriptors.h b/usb_descriptors.h index 89ca699..9cceffa 100644 --- a/usb_descriptors.h +++ b/usb_descriptors.h @@ -118,7 +118,7 @@ static struct __attribute__((packed)) { .bDescriptorType = USB_DT_CS_INTERFACE, .bDescriptorSubType = UVC_VS_FORMAT_UNCOMPRESSED, .bFormatIndex = FORMAT_INDEX_UNCOMPRESSED_NV12, - .bNumFrameDescriptors = 3, + .bNumFrameDescriptors = 4, .guidFormat = UVC_GUID_FORMAT_NV12, .bBitsPerPixel = 12, .bDefaultFrameIndex = 1,