From 09d05f26269799e643c171849f22d24c30836d00 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 6 Mar 2012 15:07:32 +0100 Subject: pco: Implement mandatory properties --- src/uca-camera.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/uca-camera.c') diff --git a/src/uca-camera.c b/src/uca-camera.c index f7f980a..97215bb 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -66,6 +66,7 @@ enum { PROP_SENSOR_HORIZONTAL_BINNINGS, PROP_SENSOR_VERTICAL_BINNING, PROP_SENSOR_VERTICAL_BINNINGS, + PROP_SENSOR_MAX_FRAME_RATE, PROP_HAS_STREAMING, PROP_HAS_CAMRAM_RECORDING, PROP_TRANSFER_ASYNCHRONOUSLY, @@ -181,6 +182,13 @@ static void uca_camera_class_init(UcaCameraClass *klass) 1, G_MAXUINT, 1, G_PARAM_READABLE), G_PARAM_READABLE); + camera_properties[PROP_SENSOR_MAX_FRAME_RATE] = + g_param_spec_float("max-frame-rate", + "Maximum frame rate", + "Maximum frame rate at full frame resolution", + 0.0f, G_MAXFLOAT, 1.0f, + G_PARAM_READABLE); + camera_properties[PROP_HAS_STREAMING] = g_param_spec_boolean("has-streaming", "Streaming capability", -- cgit v1.2.3