summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-06 15:07:32 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-06 15:07:32 +0100
commit09d05f26269799e643c171849f22d24c30836d00 (patch)
treede03376e0f66289fe3b4f843e246de0609e422d4 /src/uca-camera.c
parent67f9f44a2b42314617368705805e8e3c6c00256e (diff)
downloaduca-09d05f26269799e643c171849f22d24c30836d00.tar.gz
uca-09d05f26269799e643c171849f22d24c30836d00.tar.bz2
uca-09d05f26269799e643c171849f22d24c30836d00.tar.xz
uca-09d05f26269799e643c171849f22d24c30836d00.zip
pco: Implement mandatory properties
Diffstat (limited to 'src/uca-camera.c')
-rw-r--r--src/uca-camera.c8
1 files changed, 8 insertions, 0 deletions
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",