summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-10-18 16:27:45 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 16:28:39 +0200
commita7a48c55df8dc3e34a2ce50b18b70c0cd101766d (patch)
treecc3179f6c13aa8cb486b7a1bfbad05b5a8abdcca /plugins
parentbcf80f7ddb66ee213dc493904e1b743e99d90082 (diff)
downloaduca-a7a48c55df8dc3e34a2ce50b18b70c0cd101766d.tar.gz
uca-a7a48c55df8dc3e34a2ce50b18b70c0cd101766d.tar.bz2
uca-a7a48c55df8dc3e34a2ce50b18b70c0cd101766d.tar.xz
uca-a7a48c55df8dc3e34a2ce50b18b70c0cd101766d.zip
Show download progress
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pco/uca-pco-camera.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pco/uca-pco-camera.c b/plugins/pco/uca-pco-camera.c
index d34e0f4..5d08acf 100644
--- a/plugins/pco/uca-pco-camera.c
+++ b/plugins/pco/uca-pco-camera.c
@@ -506,7 +506,11 @@ uca_pco_camera_stop_recording(UcaCamera *camera, GError **error)
if (err == FG_INVALID_PARAMETER)
g_warning(" Unable to unblock all\n");
+ err = pco_get_active_segment(priv->pco, &priv->active_segment);
+ HANDLE_PCO_ERROR(err);
+
err = pco_get_num_images(priv->pco, priv->active_segment, &priv->num_recorded_images);
+ g_print ("images: %i\n", priv->num_recorded_images);
HANDLE_PCO_ERROR(err);
}