From c165469e94521b767b548c2b34dcbb57a027bb01 Mon Sep 17 00:00:00 2001 From: mpromonet Date: Sat, 3 Apr 2021 12:50:18 +0200 Subject: [PATCH] update README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 31beb2f..92be24f 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ V4L2 Capture ------------- - create a V4L2 Capture interface using MMAP interface: - V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps, verbose); - V4l2Capture* videoCapture = V4l2Capture::create(param, V4l2Access::IOTYPE_MMAP); + V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps, IOTYPE_MMAP, verbose); + V4l2Capture* videoCapture = V4l2Capture::create(param); - data are available : @@ -30,8 +30,8 @@ V4L2 Output - To create a V4L2 Output interface using MMAP interface: - V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps, verbose); - V4l2Output* videoOutput = V4l2Output::create(param, V4l2Access::IOTYPE_MMAP); + V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps, IOTYPE_MMAP, verbose); + V4l2Output* videoOutput = V4l2Output::create(param); - data could be written :