summaryrefslogtreecommitdiffstats
path: root/plugins/pco
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-10-21 10:09:43 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-10-21 10:09:43 +0200
commitadba712f21d378052614335916da7a9d31702d8e (patch)
tree0f281663bd4e7f4faeb37fbc1e39baa9a9f2b026 /plugins/pco
parent8ca77449016890ea5b39f9ad76be9390e649994b (diff)
downloadlibuca-adba712f21d378052614335916da7a9d31702d8e.tar.gz
libuca-adba712f21d378052614335916da7a9d31702d8e.tar.bz2
libuca-adba712f21d378052614335916da7a9d31702d8e.tar.xz
libuca-adba712f21d378052614335916da7a9d31702d8e.zip
Fix setting storage mode
Diffstat (limited to 'plugins/pco')
-rw-r--r--plugins/pco/uca-pco-camera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pco/uca-pco-camera.c b/plugins/pco/uca-pco-camera.c
index 6eedff8..d1d021b 100644
--- a/plugins/pco/uca-pco-camera.c
+++ b/plugins/pco/uca-pco-camera.c
@@ -713,9 +713,9 @@ uca_pco_camera_set_property(GObject *object, guint property_id, const GValue *va
UcaPcoCameraStorageMode mode = (UcaPcoCameraStorageMode) g_value_get_enum(value);
if (mode == UCA_PCO_CAMERA_STORAGE_MODE_FIFO_BUFFER)
- err = pco_set_record_mode (priv->pco, STORAGE_MODE_FIFO_BUFFER);
+ err = pco_set_storage_mode (priv->pco, STORAGE_MODE_FIFO_BUFFER);
else if (mode == UCA_PCO_CAMERA_STORAGE_MODE_RECORDER)
- err = pco_set_record_mode (priv->pco, STORAGE_MODE_RECORDER);
+ err = pco_set_storage_mode (priv->pco, STORAGE_MODE_RECORDER);
else
g_warning("Unknown record mode");
}