summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMihael Koep <koep@schneide.com>2015-03-16 15:25:07 +0100
committerMihael Koep <koep@schneide.com>2015-05-18 17:26:53 +0200
commit8c75b713ed6b1551af89a6ec31062b00fa8218f1 (patch)
tree8fe982a1cf63abde748848589df9faf689bb7fdb /plugins
parent9fa5eb803ea00ae42ab7a0c20329d3557a48e192 (diff)
downloaduca-8c75b713ed6b1551af89a6ec31062b00fa8218f1.tar.gz
uca-8c75b713ed6b1551af89a6ec31062b00fa8218f1.tar.bz2
uca-8c75b713ed6b1551af89a6ec31062b00fa8218f1.tar.xz
uca-8c75b713ed6b1551af89a6ec31062b00fa8218f1.zip
Only allow symmetricall binnings
Other modes are technically possible but unsupported by the vendor. Since we experienced problems using asymmetrical binnings the plugin enforces symmetrical binnings.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dexela/uca-dexela-camera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dexela/uca-dexela-camera.c b/plugins/dexela/uca-dexela-camera.c
index b5ecb5c..378426a 100644
--- a/plugins/dexela/uca-dexela-camera.c
+++ b/plugins/dexela/uca-dexela-camera.c
@@ -330,7 +330,7 @@ static void uca_dexela_camera_set_property(GObject *object, guint property_id, c
g_warning("Tried to set illegal horizontal binning: %d", horizontalBinning);
return;
}
- dexela_set_binning_mode(horizontalBinning, dexela_get_binning_mode_vertical());
+ dexela_set_binning_mode(horizontalBinning, horizontalBinning);
break;
}
case PROP_SENSOR_VERTICAL_BINNING:
@@ -340,7 +340,7 @@ static void uca_dexela_camera_set_property(GObject *object, guint property_id, c
g_warning("Tried to set illegal vertical binning: %d", verticalBinning);
return;
}
- dexela_set_binning_mode(dexela_get_binning_mode_horizontal(), verticalBinning);
+ dexela_set_binning_mode(verticalBinning, verticalBinning);
break;
}
case PROP_GAIN_MODE: