summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-06-07 15:45:06 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-06-07 15:45:06 +0200
commitbf83e234755ea390c92f05c4b701cf8ee57c2526 (patch)
tree075b786b0fb954c80480b2d17e4a9082fd7d56c5 /test
parentbbc279b61484fb073a6d0ab6cc368f26ded5f4d3 (diff)
downloaduca-bf83e234755ea390c92f05c4b701cf8ee57c2526.tar.gz
uca-bf83e234755ea390c92f05c4b701cf8ee57c2526.tar.bz2
uca-bf83e234755ea390c92f05c4b701cf8ee57c2526.tar.xz
uca-bf83e234755ea390c92f05c4b701cf8ee57c2526.zip
Hotpixel correction and cam_state -> uca.h
Diffstat (limited to 'test')
-rw-r--r--test/grab.c2
1 files changed, 2 insertions, 0 deletions
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));