diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-06-29 09:56:26 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-06-29 10:09:06 +0200 |
commit | 9551b293504f772cbcbd0e67714a30149738118b (patch) | |
tree | 531faae7b7c22e5353c36a63a055a66d347a3bca /src/uca-camera.h | |
parent | a94f1c1a38673a37093f6e3bae7e470807046cbd (diff) | |
download | uca-9551b293504f772cbcbd0e67714a30149738118b.tar.gz uca-9551b293504f772cbcbd0e67714a30149738118b.tar.bz2 uca-9551b293504f772cbcbd0e67714a30149738118b.tar.xz uca-9551b293504f772cbcbd0e67714a30149738118b.zip |
Fix LU-15: Broken ROI image
This fix contains two changes: 1. We check that passed ROI requests are
multiples of possible ROI steps as provided by the camera. If this is not the
case, the request is ignored and a warning issued. 2. We added two new base
properties ROI_WIDTH_MULTIPLIER and ROI_HEIGHT_MULTIPLIER that expose this
information to client programs.
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r-- | src/uca-camera.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h index e2887a0..8462b3d 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -66,6 +66,8 @@ enum { PROP_ROI_Y, PROP_ROI_WIDTH, PROP_ROI_HEIGHT, + PROP_ROI_WIDTH_MULTIPLIER, + PROP_ROI_HEIGHT_MULTIPLIER, PROP_HAS_STREAMING, PROP_HAS_CAMRAM_RECORDING, |