@@ -12,8 +12,8 @@ V4L2 Capture
1212-------------
1313- create a V4L2 Capture interface using MMAP interface:
1414
15- V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps, verbose);
16- V4l2Capture* videoCapture = V4l2Capture::create(param, V4l2Access::IOTYPE_MMAP );
15+ V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps,IOTYPE_MMAP, verbose);
16+ V4l2Capture* videoCapture = V4l2Capture::create(param);
1717
1818- data are available :
1919
@@ -30,8 +30,8 @@ V4L2 Output
3030
3131- To create a V4L2 Output interface using MMAP interface:
3232
33- V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps, verbose);
34- V4l2Output* videoOutput = V4l2Output::create(param, V4l2Access::IOTYPE_MMAP );
33+ V4L2DeviceParameters param("/dev/video0", V4L2_PIX_FMT_*, width, height, fps,IOTYPE_MMAP, verbose);
34+ V4l2Output* videoOutput = V4l2Output::create(param);
3535
3636- data could be written :
3737