From 0c7f86b1fa01faab960093ab6b7841acd5b06345 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 18 Jun 2015 08:42:43 +0200 Subject: Fix ufo-kit/concert#373: same unit for ROI and mult --- src/uca-camera.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/uca-camera.c b/src/uca-camera.c index 788471c..1cc414a 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -611,8 +611,8 @@ uca_camera_init (UcaCamera *camera) uca_camera_set_property_unit (camera_properties[PROP_ROI_Y], UCA_UNIT_PIXEL); uca_camera_set_property_unit (camera_properties[PROP_ROI_WIDTH], UCA_UNIT_PIXEL); uca_camera_set_property_unit (camera_properties[PROP_ROI_HEIGHT], UCA_UNIT_PIXEL); - uca_camera_set_property_unit (camera_properties[PROP_ROI_WIDTH_MULTIPLIER], UCA_UNIT_COUNT); - uca_camera_set_property_unit (camera_properties[PROP_ROI_HEIGHT_MULTIPLIER], UCA_UNIT_COUNT); + uca_camera_set_property_unit (camera_properties[PROP_ROI_WIDTH_MULTIPLIER], UCA_UNIT_PIXEL); + uca_camera_set_property_unit (camera_properties[PROP_ROI_HEIGHT_MULTIPLIER], UCA_UNIT_PIXEL); uca_camera_set_property_unit (camera_properties[PROP_RECORDED_FRAMES], UCA_UNIT_COUNT); #ifdef WITH_PYTHON_MULTITHREADING -- cgit v1.2.3