diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-10-25 12:02:55 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-10-25 12:02:55 +0200 |
commit | c5c230005390b52fd0d5c067569729bdb2cae869 (patch) | |
tree | e8847b4f941c64b626ca012db935800d554115f0 /plugins/pco | |
parent | d2f35c5a47408d9b36d17c8c11072176319838dd (diff) | |
download | libuca-c5c230005390b52fd0d5c067569729bdb2cae869.tar.gz libuca-c5c230005390b52fd0d5c067569729bdb2cae869.tar.bz2 libuca-c5c230005390b52fd0d5c067569729bdb2cae869.tar.xz libuca-c5c230005390b52fd0d5c067569729bdb2cae869.zip |
Read properties in one go
Diffstat (limited to 'plugins/pco')
-rw-r--r-- | plugins/pco/uca-pco-camera.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/pco/uca-pco-camera.c b/plugins/pco/uca-pco-camera.c index b54e4ae..45a24d8 100644 --- a/plugins/pco/uca-pco-camera.c +++ b/plugins/pco/uca-pco-camera.c @@ -379,7 +379,10 @@ uca_pco_camera_start_recording (UcaCamera *camera, GError **error) priv = UCA_PCO_CAMERA_GET_PRIVATE (camera); - g_object_get (camera, "sensor-extended", &use_extended, NULL); + g_object_get (camera, + "sensor-extended", &use_extended, + "transfer-asynchronously", &transfer_async, + NULL); if (use_extended) { binned_width = priv->width_ex; @@ -408,8 +411,6 @@ uca_pco_camera_start_recording (UcaCamera *camera, GError **error) err = pco_set_roi (priv->pco, roi); CHECK_AND_RETURN_ON_PCO_ERROR (err); - g_object_get (G_OBJECT (camera), "transfer-asynchronously", &transfer_async, NULL); - /* * FIXME: We cannot set the binning here as this breaks communication with * the camera. Setting the binning works _before_ initializing the frame |