diff options
-rw-r--r-- | src/cameras/uca-dexela-camera.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 <string.h> #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()); |