summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2020-09-26 09:54:14 +0200
committerMarcus Meissner <marcus@jet.franken.de>2020-09-26 09:54:14 +0200
commit74fccf71c636ff965040e8544f2e031cd799b2f0 (patch)
tree9f6195a471335187f7dea2712bfc75c7ada215c1
parent576153b54a389177fb3d054cb7f62aaf06ba4d58 (diff)
downloadlibgphoto2-74fccf71c636ff965040e8544f2e031cd799b2f0.tar.gz
also wait for 2.5 seconds on the Sony A7 R4
see https://github.com/gphoto/gphoto2/issues/272
-rw-r--r--camlibs/ptp2/library.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c
index f4f706996..ed78b23a0 100644
--- a/camlibs/ptp2/library.c
+++ b/camlibs/ptp2/library.c
@@ -4541,10 +4541,11 @@ camera_sony_capture (Camera *camera, CameraCaptureType type, CameraFilePath *pat
if (params->deviceinfo.Model && (
!strcmp(params->deviceinfo.Model, "ZV-1") ||
- !strcmp(params->deviceinfo.Model, "DSC-RX100M7")
+ !strcmp(params->deviceinfo.Model, "DSC-RX100M7") ||
+ !strcmp(params->deviceinfo.Model, "ILCE-7RM4")
)) {
- /* For some as yet unknown reason the ZV-1 needs around 3 seconds startup time
- * to be able to capture. I looked for various trigger events or property changes
+ /* For some as yet unknown reason the ZV-1, the RX100M7 and the A7 R4 need around 3 seconds startup time
+ * to be able to capture. I looked for various trigger events or property changes on the ZV-1
* but nothing worked except waiting. */
while (time_since (params->starttime) < 2500) {
/* drain the queue first */