From efb97e000e66125453f3f07caa74b324a3205a4a Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Tue, 7 Oct 2014 13:20:41 +0200 Subject: Add missing property specification for exposure-auto --- plugins/pylon/uca-pylon-camera.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins') 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]); -- cgit v1.2.3