diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-08-18 13:50:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-08-18 13:53:47 +0200 |
commit | 75db0fc5844f95d7c5503dd735e7d5b5621261b3 (patch) | |
tree | 48cf1ba64c71fe71f4175fa3a0949d2e38b18259 /video-ps3eye/wrapper.cxx | |
parent | d6907613e89b906edb3f2b7c0049f8b13f3524ee (diff) |
video/ps3eye: switch to grayscale
Diffstat (limited to 'video-ps3eye/wrapper.cxx')
-rw-r--r-- | video-ps3eye/wrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video-ps3eye/wrapper.cxx b/video-ps3eye/wrapper.cxx index e5730a7a..2ebdc2e1 100644 --- a/video-ps3eye/wrapper.cxx +++ b/video-ps3eye/wrapper.cxx @@ -70,7 +70,7 @@ int main(int argc, char** argv) if (framerate <= 0) framerate = 60; - if (!camera->init(get_mode(in.resolution), framerate)) + if (!camera->init(get_mode(in.resolution), framerate, ps3eye::format::Gray)) error(out, "camera init failed: %s", camera->error_string()); update_settings(*camera, in); @@ -94,7 +94,7 @@ int main(int argc, char** argv) int framerate = in.framerate; if (framerate <= 0) framerate = 60; - if (!camera->init(get_mode(in.resolution), framerate)) + if (!camera->init(get_mode(in.resolution), framerate, ps3eye::format::Gray)) error(out, "camera init failed: %s", camera->error_string()); if (!camera->start()) error(out, "can't start camera: %s", camera->error_string()); |