From 7d8d5904eb7423a26a37cd3b0b69a7bd0cb59ab8 Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Tue, 18 Sep 2012 14:11:14 +0200 Subject: Return full dimensions as roi. --- src/cameras/uca-dexela-camera.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') diff --git a/src/cameras/uca-dexela-camera.c b/src/cameras/uca-dexela-camera.c index 4671168..21b13b2 100644 --- a/src/cameras/uca-dexela-camera.c +++ b/src/cameras/uca-dexela-camera.c @@ -15,6 +15,7 @@ with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA */ +#include #include "uca-camera.h" #include "uca-dexela-camera.h" #include "uca-enums.h" @@ -197,6 +198,18 @@ static void uca_dexela_camera_get_property(GObject *object, guint property_id, G g_value_set_uint(value, priv->height); break; } + case PROP_ROI_WIDTH: + { + // use full frame for now + g_value_set_uint(value, priv->width); + break; + } + case PROP_ROI_HEIGHT: + { + // use full frame for now + g_value_set_uint(value, priv->height); + break; + } case PROP_SENSOR_HORIZONTAL_BINNING: { g_value_set_uint(value, dexela_get_binning_mode_horizontal()); -- cgit v1.2.3