summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMihael Koep <koep@schneide.com>2014-10-07 13:20:41 +0200
committerMihael Koep <koep@schneide.com>2014-10-07 13:20:41 +0200
commitefb97e000e66125453f3f07caa74b324a3205a4a (patch)
tree9f9df906cf7b2155804f2f5107f7c6dc09d15a47 /plugins
parentf2394f593a552f1c3d29ce894b5cd28914b884b7 (diff)
downloaduca-efb97e000e66125453f3f07caa74b324a3205a4a.tar.gz
uca-efb97e000e66125453f3f07caa74b324a3205a4a.tar.bz2
uca-efb97e000e66125453f3f07caa74b324a3205a4a.tar.xz
uca-efb97e000e66125453f3f07caa74b324a3205a4a.zip
Add missing property specification for exposure-auto
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pylon/uca-pylon-camera.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/pylon/uca-pylon-camera.c b/plugins/pylon/uca-pylon-camera.c
index f8c284a..4420d58 100644
--- a/plugins/pylon/uca-pylon-camera.c
+++ b/plugins/pylon/uca-pylon-camera.c
@@ -443,6 +443,12 @@ static void uca_pylon_camera_class_init(UcaPylonCameraClass *klass)
"White balance mode (0: Off, 1: Once, 2: Continuous)",
UCA_TYPE_CAMERA_BALANCE_WHITE_AUTO, UCA_CAMERA_BALANCE_WHITE_OFF,
G_PARAM_READWRITE);
+ pylon_properties[PROP_EXPOSURE_AUTO] =
+ g_param_spec_enum("exposure-auto",
+ "Exposure Auto mode",
+ "Exposure auto mode (0: Off, 1: Once, 2: Continuous)",
+ UCA_TYPE_CAMERA_EXPOSURE_AUTO, UCA_CAMERA_EXPOSURE_AUTO_OFF,
+ G_PARAM_READWRITE);
for (guint id = N_BASE_PROPERTIES; id < N_PROPERTIES; id++)
g_object_class_install_property(gobject_class, id, pylon_properties[id]);