summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2017-03-16 22:31:12 +0100
committerMarcus Meissner <marcus@jet.franken.de>2017-03-16 22:31:12 +0100
commite85ae93f4eb2ee35eaf064b74b613f777f70b93c (patch)
treee6ede12b79850d781ab3aa063e5b52456dec5a1f
parenta3c76a78455dc2d7c5341573edb461e969fd6216 (diff)
downloadlibgphoto2-e85ae93f4eb2ee35eaf064b74b613f777f70b93c.tar.gz
added a get_status after pslr_shutter
-rw-r--r--camlibs/pentax/library.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camlibs/pentax/library.c b/camlibs/pentax/library.c
index 810a89949..0084638d5 100644
--- a/camlibs/pentax/library.c
+++ b/camlibs/pentax/library.c
@@ -313,6 +313,9 @@ camera_capture (Camera *camera, CameraCaptureType type, CameraFilePath *path,
gp_file_set_mtime (file, time(NULL));
gp_file_set_mime_type (file, mime);
+ /* get status again */
+ pslr_get_status (p, &status);
+
if (status.bufmask == 0) {
gp_log (GP_LOG_ERROR, "pentax", "no buffer available for download");
return GP_ERROR;