summaryrefslogtreecommitdiffhomepage
path: root/video-ps3eye
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-03-29 15:35:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2020-03-29 15:36:43 +0200
commitfafe2e19d9f411f892fb9a162f03e6a6ce381f5a (patch)
tree8d6dc771a17ea315c01257b3063d64ad341624aa /video-ps3eye
parentafe7629a1308f51b2fbcca40af8e4d16cea6c9cc (diff)
video/ps3eye: enable auto gain
Diffstat (limited to 'video-ps3eye')
-rw-r--r--video-ps3eye/module.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/video-ps3eye/module.cpp b/video-ps3eye/module.cpp
index 7dbdd8fb..db52f8ae 100644
--- a/video-ps3eye/module.cpp
+++ b/video-ps3eye/module.cpp
@@ -153,6 +153,7 @@ bool ps3eye_camera::start(info& args)
fr.width = 320; fr.height = 240;
}
+ ptr.in.auto_gain = false;
ptr.in.framerate = (uint8_t)std::clamp(args.fps, 30, 187);
ptr.in.gain = (uint8_t)s.gain;
ptr.in.exposure = (uint8_t)s.exposure;