From e1f05c90dbd440c2f670b9d8dd4849cafdb3f91b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Feb 2023 16:05:52 +0100 Subject: video/opencv, tracker/nn: maybe fix gcc build --- video-opencv/impl-camera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video-opencv/impl-camera.cpp') diff --git a/video-opencv/impl-camera.cpp b/video-opencv/impl-camera.cpp index b11c5cd5..afd76310 100644 --- a/video-opencv/impl-camera.cpp +++ b/video-opencv/impl-camera.cpp @@ -33,7 +33,7 @@ bool cam::is_open() void cam::set_exposure(bool write) { - auto e = *s.exposure_preset; + auto e = *s.exposure; if (e != exposure) switch (e) { @@ -42,7 +42,7 @@ void cam::set_exposure(bool write) default: break; } - if (s.exposure_preset != exposure_preset::ignored) + if (s.exposure != exposure_preset::ignored) { constexpr struct { int prop, value; -- cgit v1.2.3