summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-07-17 10:49:19 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-07-17 10:49:19 +0200
commitf111dd5b0c80206d79bb73f0e5b546ae7d5e34a7 (patch)
tree9ce96303a75227393005739d04179c1ed65d710a /src
parenta711e87f49e7c7dee62e9186a59f18348c76829e (diff)
downloadlibuca-f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7.tar.gz
libuca-f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7.tar.bz2
libuca-f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7.tar.xz
libuca-f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7.zip
Provide binning default and let cameras use that
Diffstat (limited to 'src')
-rw-r--r--src/uca-camera.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c
index ce21b42..417116f 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -207,6 +207,14 @@ uca_camera_get_property(GObject *object, guint property_id, GValue *value, GPara
g_value_set_double (value, 10e-6);
break;
+ case PROP_SENSOR_HORIZONTAL_BINNING:
+ g_value_set_uint (value, 1);
+ break;
+
+ case PROP_SENSOR_VERTICAL_BINNING:
+ g_value_set_uint (value, 1);
+ break;
+
case PROP_SENSOR_HORIZONTAL_BINNINGS:
g_value_set_boxed (value, priv->h_binnings);
break;