From 9c20d62763cfa8feaccbbd8fac5488811e2a2253 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Fri, 1 Jun 2018 16:34:21 +0800 Subject: [PATCH] Increase v4l2 request buffers --- src/uvc/uvc-v4l2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uvc/uvc-v4l2.cc b/src/uvc/uvc-v4l2.cc index 6902005..a064552 100755 --- a/src/uvc/uvc-v4l2.cc +++ b/src/uvc/uvc-v4l2.cc @@ -276,7 +276,7 @@ struct device { // Init memory mapped IO v4l2_requestbuffers req; - req.count = 4; + req.count = 24; req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; req.memory = V4L2_MEMORY_MMAP; if (xioctl(fd, VIDIOC_REQBUFS, &req) < 0) {