diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-02 12:50:11 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-02 12:50:11 +0100 |
commit | 85291967a9104fc2404b594c602230a5f269ec59 (patch) | |
tree | 84a06c399c0e22d687b82d4baa709d692e091f9b /src | |
parent | 580c22054a205b9aef4b0645689e136f03973a17 (diff) | |
download | uca-85291967a9104fc2404b594c602230a5f269ec59.tar.gz uca-85291967a9104fc2404b594c602230a5f269ec59.tar.bz2 uca-85291967a9104fc2404b594c602230a5f269ec59.tar.xz uca-85291967a9104fc2404b594c602230a5f269ec59.zip |
Add exposure property to pf
Diffstat (limited to 'src')
-rw-r--r-- | src/cameras/pf.c | 5 |
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; } |