summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-10 17:44:34 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-10 17:44:53 +0200
commit95a22bf2f02ad11c2602df5ac5ffd04fee93588c (patch)
tree1f26ad046db783bafa4f1e25e04f92d6fc784c9f /plugins
parent46a6d028c5591b0775ef5862ff5c9e95fd68e7fd (diff)
downloadlibuca-95a22bf2f02ad11c2602df5ac5ffd04fee93588c.tar.gz
libuca-95a22bf2f02ad11c2602df5ac5ffd04fee93588c.tar.bz2
libuca-95a22bf2f02ad11c2602df5ac5ffd04fee93588c.tar.xz
libuca-95a22bf2f02ad11c2602df5ac5ffd04fee93588c.zip
Implement experimental histogram view
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mock/uca-mock-camera.c4
-rw-r--r--plugins/pf/uca-pf-camera.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/plugins/mock/uca-mock-camera.c b/plugins/mock/uca-mock-camera.c
index 7ab1d4a..65c4240 100644
--- a/plugins/mock/uca-mock-camera.c
+++ b/plugins/mock/uca-mock-camera.c
@@ -37,7 +37,6 @@ static const gint mock_overrideables[] = {
PROP_SENSOR_HORIZONTAL_BINNINGS,
PROP_SENSOR_VERTICAL_BINNING,
PROP_SENSOR_VERTICAL_BINNINGS,
- PROP_TRIGGER_MODE,
PROP_EXPOSURE_TIME,
PROP_ROI_X,
PROP_ROI_Y,
@@ -301,9 +300,6 @@ static void uca_mock_camera_get_property(GObject *object, guint property_id, GVa
case PROP_EXPOSURE_TIME:
g_value_set_double(value, priv->exposure_time);
break;
- case PROP_TRIGGER_MODE:
- g_value_set_enum(value, UCA_CAMERA_TRIGGER_AUTO);
- break;
case PROP_ROI_X:
g_value_set_uint(value, priv->roi_x);
break;
diff --git a/plugins/pf/uca-pf-camera.c b/plugins/pf/uca-pf-camera.c
index 35b5edd..473ffd3 100644
--- a/plugins/pf/uca-pf-camera.c
+++ b/plugins/pf/uca-pf-camera.c
@@ -234,6 +234,7 @@ static void uca_pf_camera_get_property(GObject *object, guint property_id, GValu
g_value_set_boolean(value, FALSE);
break;
case PROP_EXPOSURE_TIME:
+ g_value_set_double(value, 1. / 488.0);
break;
case PROP_ROI_X:
g_value_set_uint(value, 0);