diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-10-18 16:27:45 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-18 16:28:39 +0200 |
commit | a7a48c55df8dc3e34a2ce50b18b70c0cd101766d (patch) | |
tree | cc3179f6c13aa8cb486b7a1bfbad05b5a8abdcca /plugins/pco/uca-pco-camera.c | |
parent | bcf80f7ddb66ee213dc493904e1b743e99d90082 (diff) | |
download | libuca-a7a48c55df8dc3e34a2ce50b18b70c0cd101766d.tar.gz libuca-a7a48c55df8dc3e34a2ce50b18b70c0cd101766d.tar.bz2 libuca-a7a48c55df8dc3e34a2ce50b18b70c0cd101766d.tar.xz libuca-a7a48c55df8dc3e34a2ce50b18b70c0cd101766d.zip |
Show download progress
Diffstat (limited to 'plugins/pco/uca-pco-camera.c')
-rw-r--r-- | plugins/pco/uca-pco-camera.c | 4 |
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); } |