From 2c5bc4145cc4323dd3d4b5f7dcbee9ea22d2be40 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 1 Jul 2009 21:13:17 +0000 Subject: [PATCH] added some waits for the EOS event handling. otherwise the camera will just serve eventdata and not do anything else. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12182 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/ptp2/library.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 2a5d8afdb..e69046213 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -1733,6 +1733,7 @@ camera_canon_eos_capture (Camera *camera, CameraCaptureType type, CameraFilePath if (!nrofentries) { free (entries); gp_context_idle (context); + usleep(100*1000); /* 100 ms */ continue; } for (i=0;i