Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Apr 3, 2021
1 parent bc0c46c commit c165469
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 :

Expand All @@ -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 :

Expand Down

0 comments on commit c165469

Please sign in to comment.