summaryrefslogtreecommitdiffstats
path: root/plugins/dexela/uca-dexela-camera.c
diff options
context:
space:
mode:
authorMihael Koep <koep@schneide.com>2013-03-27 16:41:23 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-11-06 14:43:09 +0100
commit35522c2f2606a51605356d9edfa9635442b22c3a (patch)
tree1843e20fd0f035ea68dba054bfc3b4b3b72f93e6 /plugins/dexela/uca-dexela-camera.c
parent60827d7d3639f289794d834a8d926c5930ce9527 (diff)
downloaduca-35522c2f2606a51605356d9edfa9635442b22c3a.tar.gz
uca-35522c2f2606a51605356d9edfa9635442b22c3a.tar.bz2
uca-35522c2f2606a51605356d9edfa9635442b22c3a.tar.xz
uca-35522c2f2606a51605356d9edfa9635442b22c3a.zip
Return current width and height as roi.
Diffstat (limited to 'plugins/dexela/uca-dexela-camera.c')
-rw-r--r--plugins/dexela/uca-dexela-camera.c6
1 files changed, 2 insertions, 4 deletions
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: