From 85291967a9104fc2404b594c602230a5f269ec59 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 2 Mar 2011 12:50:11 +0100 Subject: Add exposure property to pf --- src/cameras/pf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cameras') 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; } -- cgit v1.2.3