diff options
Diffstat (limited to 'test/grab.c')
-rw-r--r-- | test/grab.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/grab.c b/test/grab.c index 59a4fb3..d4f458a 100644 --- a/test/grab.c +++ b/test/grab.c @@ -36,6 +36,8 @@ int main(int argc, char *argv[]) handle_error(uca_cam_set_property(cam, UCA_PROP_DELAY, &val)); val = UCA_TIMESTAMP_ASCII | UCA_TIMESTAMP_BINARY; handle_error(uca_cam_set_property(cam, UCA_PROP_TIMESTAMP_MODE, &val)); + val = 1; + handle_error(uca_cam_set_property(cam, UCA_PROP_GRAB_AUTO, &val)); uint32_t width, height, bits; handle_error(uca_cam_get_property(cam, UCA_PROP_WIDTH, &width, 0)); |