diff options
Diffstat (limited to 'src/cameras/uca-pco-camera.c')
-rw-r--r-- | src/cameras/uca-pco-camera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cameras/uca-pco-camera.c b/src/cameras/uca-pco-camera.c index 91aee8f..52246ae 100644 --- a/src/cameras/uca-pco-camera.c +++ b/src/cameras/uca-pco-camera.c @@ -865,11 +865,11 @@ static void uca_pco_camera_get_property(GObject *object, guint property_id, GVal break; case PROP_SENSOR_WIDTH_EXTENDED: - g_value_set_uint(value, priv->width_ex); + g_value_set_uint(value, priv->width_ex < priv->width ? priv->width : priv->width_ex); break; case PROP_SENSOR_HEIGHT_EXTENDED: - g_value_set_uint(value, priv->height_ex); + g_value_set_uint(value, priv->height_ex < priv->height ? priv->height : priv->height_ex); break; case PROP_SENSOR_HORIZONTAL_BINNING: |