diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-03 22:34:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-03 22:34:52 +0200 |
commit | e88e7324a0b4e5e873068d0a5be2ac034acf3734 (patch) | |
tree | 85ac8c607bafcc4ffbb66fca0157c4ed23997dcd /tracker-pt/module/camera.cpp | |
parent | eff4fbd1d77b84829ab0f9f14593b12246e3fcdd (diff) |
tracker/pt: request single-channel image from camera
Diffstat (limited to 'tracker-pt/module/camera.cpp')
-rw-r--r-- | tracker-pt/module/camera.cpp | 1 |
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; |