From e85ae93f4eb2ee35eaf064b74b613f777f70b93c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 16 Mar 2017 22:31:12 +0100 Subject: added a get_status after pslr_shutter --- camlibs/pentax/library.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.1