diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index e58eb76e3f..b30ce49312 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -2814,6 +2814,7 @@ camera_capture_preview (Camera *camera, CameraFile *file, GPContext *context) unsigned char *ximage = NULL; int tries = 20; + ptp_check_event (params); /* will stall for some reason */ do { ret = ptp_getobject_with_size(params, preview_object, &ximage, &size); if (ret == PTP_RC_OK)