summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-03 22:34:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-03 22:34:52 +0200
commite88e7324a0b4e5e873068d0a5be2ac034acf3734 (patch)
tree85ac8c607bafcc4ffbb66fca0157c4ed23997dcd /tracker-pt/module
parenteff4fbd1d77b84829ab0f9f14593b12246e3fcdd (diff)
tracker/pt: request single-channel image from camera
Diffstat (limited to 'tracker-pt/module')
-rw-r--r--tracker-pt/module/camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-pt/module/camera.cpp b/tracker-pt/module/camera.cpp
index 62b23ea9..5c15dba8 100644
--- a/tracker-pt/module/camera.cpp
+++ b/tracker-pt/module/camera.cpp
@@ -107,6 +107,7 @@ bool Camera::start(const pt_settings& s)
info.width = res_x;
info.height = res_y;
info.use_mjpeg = use_mjpeg;
+ info.num_channels = 1;
if (!cap->start(info))
goto fail;