summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2020-05-22 15:05:26 +0200
committerMarcus Meissner <marcus@jet.franken.de>2020-05-22 15:05:26 +0200
commit2311fe631e8818dff872dbeaabc02d1890f6dc2f (patch)
tree72c18c5667e137e3ce7f67812e686ab98c6d67ce
parent828e672bac6afca3150512cdcc3dfc0ab5b3cfab (diff)
downloadlibgphoto2-2311fe631e8818dff872dbeaabc02d1890f6dc2f.tar.gz
updated EOS timeout freom 60 to 90 seconds.
Max time is 30 seconds, + 30 seconds ppostprocessing + safety https://github.com/gphoto/libgphoto2/issues/503
-rw-r--r--camlibs/ptp2/library.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c
index 10a63f0ba..0f297ec45 100644
--- a/camlibs/ptp2/library.c
+++ b/camlibs/ptp2/library.c
@@ -3876,8 +3876,11 @@ capturetriggered:
return GP_OK;
}
-/* 60 seconds timeout in ms ... (for long cycles) */
-#define EOS_CAPTURE_TIMEOUT (60*1000)
+/* 90 seconds timeout in ms ... (for long cycles)
+ * while the max shutterspeed is 30seconds, there is also postprocessing of 30seconds happening
+ * in e.g. https://github.com/gphoto/libgphoto2/issues/503
+ */
+#define EOS_CAPTURE_TIMEOUT (90*1000)
/* This is currently the capture method used by the EOS 400D
* ... in development.