From adba712f21d378052614335916da7a9d31702d8e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 21 Oct 2013 10:09:43 +0200 Subject: Fix setting storage mode --- plugins/pco/uca-pco-camera.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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"); } -- cgit v1.2.3