summaryrefslogtreecommitdiffhomepage
path: root/video-opencv/impl-camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video-opencv/impl-camera.cpp')
-rw-r--r--video-opencv/impl-camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/video-opencv/impl-camera.cpp b/video-opencv/impl-camera.cpp
index c18c35ba..a0d6b2ed 100644
--- a/video-opencv/impl-camera.cpp
+++ b/video-opencv/impl-camera.cpp
@@ -89,6 +89,7 @@ bool cam::start(info& args)
cap->set(cv::CAP_PROP_FOURCC, cv::VideoWriter::fourcc('M', 'J', 'P', 'G'));
set_exposure(*s.exposure);
+ writes = 3;
if (!cap->isOpened())
goto fail;