From 1555e20449f390e4a747c0d181d71194312eb1c8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 11 Feb 2024 17:27:18 +0100 Subject: video/opencv: also try harder to set exposure on startup --- video-opencv/impl-camera.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3