From f111dd5b0c80206d79bb73f0e5b546ae7d5e34a7 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 17 Jul 2013 10:49:19 +0200 Subject: Provide binning default and let cameras use that --- src/uca-camera.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/uca-camera.c') 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; -- cgit v1.2.3