summaryrefslogtreecommitdiffstats
path: root/plugins/pco/uca-pco-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 10:56:30 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 10:56:30 +0200
commita1ab005916ba3aa50923294c5be3da0ded16fbc0 (patch)
treeb594deeda79c753fc3e7591dac4ad2712208ab8d /plugins/pco/uca-pco-camera.c
parentde2e8e3191eae37b91f672a03e028a35c8863c9d (diff)
downloaduca-a1ab005916ba3aa50923294c5be3da0ded16fbc0.tar.gz
uca-a1ab005916ba3aa50923294c5be3da0ded16fbc0.tar.bz2
uca-a1ab005916ba3aa50923294c5be3da0ded16fbc0.tar.xz
uca-a1ab005916ba3aa50923294c5be3da0ded16fbc0.zip
Add download button and make dimax work
Diffstat (limited to 'plugins/pco/uca-pco-camera.c')
-rw-r--r--plugins/pco/uca-pco-camera.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/pco/uca-pco-camera.c b/plugins/pco/uca-pco-camera.c
index 92f814e..d5f5593 100644
--- a/plugins/pco/uca-pco-camera.c
+++ b/plugins/pco/uca-pco-camera.c
@@ -554,7 +554,8 @@ uca_pco_camera_grab(UcaCamera *camera, gpointer *data, GError **error)
if (is_readout) {
if (priv->current_image == priv->num_recorded_images) {
- *data = NULL;
+ g_set_error (error, UCA_CAMERA_ERROR, UCA_CAMERA_ERROR_END_OF_STREAM,
+ "End of data stream");
return;
}