diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/grab.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/grab.c b/test/grab.c index 8c5e78c..c8a6153 100644 --- a/test/grab.c +++ b/test/grab.c @@ -24,6 +24,9 @@ int main(int argc, char *argv[]) val = 0; handle_error(cam->set_property(cam, UCA_PROP_DELAY, &val)); + val = 1; + handle_error(cam->set_property(cam, UCA_PROP_GRAB_SYNCHRONOUS, &val)); + uint32_t width, height, bits; handle_error(cam->get_property(cam, UCA_PROP_WIDTH, &width, 0)); handle_error(cam->get_property(cam, UCA_PROP_HEIGHT, &height, 0)); |