diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2017-03-16 22:31:12 +0100 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2017-03-16 22:31:12 +0100 |
commit | e85ae93f4eb2ee35eaf064b74b613f777f70b93c (patch) | |
tree | e6ede12b79850d781ab3aa063e5b52456dec5a1f | |
parent | a3c76a78455dc2d7c5341573edb461e969fd6216 (diff) | |
download | libgphoto2-e85ae93f4eb2ee35eaf064b74b613f777f70b93c.tar.gz |
added a get_status after pslr_shutter
-rw-r--r-- | camlibs/pentax/library.c | 3 |
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; |