summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-02 12:50:11 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-02 12:50:11 +0100
commit85291967a9104fc2404b594c602230a5f269ec59 (patch)
tree84a06c399c0e22d687b82d4baa709d692e091f9b
parent580c22054a205b9aef4b0645689e136f03973a17 (diff)
downloaduca-85291967a9104fc2404b594c602230a5f269ec59.tar.gz
uca-85291967a9104fc2404b594c602230a5f269ec59.tar.bz2
uca-85291967a9104fc2404b594c602230a5f269ec59.tar.xz
uca-85291967a9104fc2404b594c602230a5f269ec59.zip
Add exposure property to pf
-rw-r--r--src/cameras/pf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cameras/pf.c b/src/cameras/pf.c
index 1cfbc30..a5e8b14 100644
--- a/src/cameras/pf.c
+++ b/src/cameras/pf.c
@@ -54,6 +54,11 @@ static uint32_t uca_pf_set_property(struct uca_camera_t *cam, enum uca_property_
return UCA_ERR_PROP_VALUE_OUT_OF_RANGE;
break;
+ case UCA_PROP_EXPOSURE:
+ if (grabber->set_property(grabber, FG_EXPOSURE, (uint32_t *) data) != UCA_NO_ERROR)
+ return UCA_ERR_PROP_VALUE_OUT_OF_RANGE;
+ break;
+
default:
return UCA_ERR_PROP_INVALID;
}