diff options
Diffstat (limited to 'video-opencv/impl-camera.cpp')
-rw-r--r-- | video-opencv/impl-camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |