summaryrefslogtreecommitdiffstats
path: root/src/cameras/pf.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-04-26 16:00:13 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-04-26 16:00:13 +0200
commitb172726b7646f284560da670fe19ad28d88aaa15 (patch)
treeeb59a1be25c10645c594a0cb8dd4b90df699e4ba /src/cameras/pf.c
parentfcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41 (diff)
downloaduca-b172726b7646f284560da670fe19ad28d88aaa15.tar.gz
uca-b172726b7646f284560da670fe19ad28d88aaa15.tar.bz2
uca-b172726b7646f284560da670fe19ad28d88aaa15.tar.xz
uca-b172726b7646f284560da670fe19ad28d88aaa15.zip
Remove UCA_CAM_ERROR and handle correct recording states
Diffstat (limited to 'src/cameras/pf.c')
-rw-r--r--src/cameras/pf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cameras/pf.c b/src/cameras/pf.c
index aa05df6..5a87380 100644
--- a/src/cameras/pf.c
+++ b/src/cameras/pf.c
@@ -233,7 +233,7 @@ uint32_t uca_pf_init(struct uca_camera **cam, struct uca_grabber *grabber)
val = UCA_FORMAT_GRAY8;
grabber->set_property(grabber, UCA_GRABBER_FORMAT, &val);
- val = UCA_TRIGGER_FREERUN;
+ val = UCA_TRIGGER_AUTO;
grabber->set_property(grabber, UCA_GRABBER_TRIGGER_MODE, &val);
uca_pf_get_property(uca, UCA_PROP_WIDTH, &uca->frame_width, 0);