summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-11 17:27:18 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-11 17:27:18 +0100
commit1555e20449f390e4a747c0d181d71194312eb1c8 (patch)
tree3941fc7da05337dd5562dbcfc624de3b8e4d72ec
parent98edf8f8da40b7a16af6bf135f47edb1a7e5f04c (diff)
video/opencv: also try harder to set exposure on startuptrackhat-sensor-v2
-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;