From 35522c2f2606a51605356d9edfa9635442b22c3a Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Wed, 27 Mar 2013 16:41:23 +0100 Subject: Return current width and height as roi. --- plugins/dexela/uca-dexela-camera.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/dexela/uca-dexela-camera.c') diff --git a/plugins/dexela/uca-dexela-camera.c b/plugins/dexela/uca-dexela-camera.c index 37832b2..0003f22 100644 --- a/plugins/dexela/uca-dexela-camera.c +++ b/plugins/dexela/uca-dexela-camera.c @@ -200,14 +200,12 @@ static void uca_dexela_camera_get_property(GObject *object, guint property_id, G } case PROP_ROI_WIDTH: { - // use full frame for now - g_value_set_uint(value, priv->width); + g_value_set_uint(value, dexela_get_width()); break; } case PROP_ROI_HEIGHT: { - // use full frame for now - g_value_set_uint(value, priv->height); + g_value_set_uint(value, dexela_get_height()); break; } case PROP_SENSOR_HORIZONTAL_BINNING: -- cgit v1.2.3