Increase v4l2 request buffers
This commit is contained in:
parent
a0cf8fd902
commit
9c20d62763
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user