summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/pco/uca-pco-camera.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/pco/uca-pco-camera.c b/plugins/pco/uca-pco-camera.c
index d1d021b..1f5af90 100644
--- a/plugins/pco/uca-pco-camera.c
+++ b/plugins/pco/uca-pco-camera.c
@@ -152,6 +152,7 @@ static gint base_overrideables[] = {
PROP_HAS_STREAMING,
PROP_HAS_CAMRAM_RECORDING,
PROP_RECORDED_FRAMES,
+ PROP_IS_RECORDING,
0
};
@@ -1077,6 +1078,15 @@ uca_pco_camera_get_property(GObject *object, guint property_id, GValue *value, G
}
break;
+ case PROP_IS_RECORDING:
+ {
+ bool is_recording;
+
+ err = pco_is_recording (priv->pco, &is_recording);
+ g_value_set_boolean (value, (gboolean) is_recording);
+ }
+ break;
+
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
return;