From bf83e234755ea390c92f05c4b701cf8ee57c2526 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 7 Jun 2011 15:45:06 +0200 Subject: Hotpixel correction and cam_state -> uca.h --- test/grab.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/grab.c b/test/grab.c index 9f86069..e614e03 100644 --- a/test/grab.c +++ b/test/grab.c @@ -25,6 +25,8 @@ int main(int argc, char *argv[]) val = 1; handle_error(uca_cam_set_property(cam, UCA_PROP_GRAB_SYNCHRONOUS, &val)); + val = 0; + handle_error(uca_cam_set_property(cam, UCA_PROP_HOTPIXEL_CORRECTION, &val)); uint32_t width, height, bits; handle_error(uca_cam_get_property(cam, UCA_PROP_WIDTH, &width, 0)); -- cgit v1.2.3