summaryrefslogtreecommitdiffstats
path: root/src/cameras
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-12 17:47:01 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-12 17:47:01 +0200
commite62d6a31e8a38a01c529a51b0582ac16373424c1 (patch)
treed794494f05720615d3fd1f166057fe781133f0b1 /src/cameras
parent8701b32d15dca588bccca5d8c0586826fbbcb09e (diff)
downloaduca-e62d6a31e8a38a01c529a51b0582ac16373424c1.tar.gz
uca-e62d6a31e8a38a01c529a51b0582ac16373424c1.tar.bz2
uca-e62d6a31e8a38a01c529a51b0582ac16373424c1.tar.xz
uca-e62d6a31e8a38a01c529a51b0582ac16373424c1.zip
Check errors and fix small issues
Diffstat (limited to 'src/cameras')
-rw-r--r--src/cameras/uca-pco-camera.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cameras/uca-pco-camera.c b/src/cameras/uca-pco-camera.c
index fa97fb6..945155a 100644
--- a/src/cameras/uca-pco-camera.c
+++ b/src/cameras/uca-pco-camera.c
@@ -333,9 +333,11 @@ static void uca_pco_camera_stop_recording(UcaCamera *camera, GError **error)
{
g_return_if_fail(UCA_IS_PCO_CAMERA(camera));
UcaPcoCameraPrivate *priv = UCA_PCO_CAMERA_GET_PRIVATE(camera);
- pco_stop_recording(priv->pco);
- guint err = Fg_stopAcquireEx(priv->fg, priv->fg_port, priv->fg_mem, STOP_SYNC);
+ guint err = pco_stop_recording(priv->pco);
+ HANDLE_PCO_ERROR(err);
+
+ err = Fg_stopAcquireEx(priv->fg, priv->fg_port, priv->fg_mem, STOP_SYNC);
FG_SET_ERROR(err, priv->fg, UCA_PCO_CAMERA_ERROR_FG_ACQUISITION);
}