From ccaf5dfc7727ea32920527a7622509b9724ae42f Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 21 Oct 2011 11:25:46 +0200 Subject: Add: readout state --- test/grab.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/grab.c') 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)); -- cgit v1.2.3