summaryrefslogtreecommitdiff
path: root/camlibs/sonydscf55
diff options
context:
space:
mode:
authorRaymond Penners <raymond@dotsphinx.com>2002-07-18 18:44:06 +0000
committerRaymond Penners <raymond@dotsphinx.com>2002-07-18 18:44:06 +0000
commit3c9acaac50be482bcd8e4a96fe88025e9e9d5dbb (patch)
tree3205c23351589a273a7916675be841b81717d441 /camlibs/sonydscf55
parent5cdea0dff854471993f128712396f557c054d8c1 (diff)
downloadlibgphoto2-3c9acaac50be482bcd8e4a96fe88025e9e9d5dbb.tar.gz
Added calls to gp_context_idle()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4881 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sonydscf55')
-rw-r--r--camlibs/sonydscf55/ChangeLog4
-rw-r--r--camlibs/sonydscf55/sony.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/camlibs/sonydscf55/ChangeLog b/camlibs/sonydscf55/ChangeLog
index 2ff3ea349..1291e8f36 100644
--- a/camlibs/sonydscf55/ChangeLog
+++ b/camlibs/sonydscf55/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-18 Raymond Penners <raymond@dotsphinx.com>
+
+ * sony.c: Added calls to gp_context_idle().
+
2002-05-07 Khalid Akbar <khalid@homechoice.co.uk>
* *.[ch]: Added support for more than 256 images and "Sony TRV-20E".
diff --git a/camlibs/sonydscf55/sony.c b/camlibs/sonydscf55/sony.c
index 53b599c38..d8093cbeb 100644
--- a/camlibs/sonydscf55/sony.c
+++ b/camlibs/sonydscf55/sony.c
@@ -637,8 +637,6 @@ sony_file_get(Camera * camera, int imageid, int file_type,
SelectImage[4] = imageid & 0xff;
sony_converse(camera, &dp, SelectImage, 7);
- GP_DEBUG ("XYZ %11.11s", dp.buffer + 5);
-
if (camera->pl->msac_sr1) {
gp_file_append(file,
"\xff\xd8\xff", 3);
@@ -651,6 +649,8 @@ sony_file_get(Camera * camera, int imageid, int file_type,
rc = GP_ERROR_CANCEL;
break;
}
+ gp_context_idle(context);
+
sony_converse(camera, &dp,
SendThumbnail, 4);
@@ -676,6 +676,8 @@ sony_file_get(Camera * camera, int imageid, int file_type,
rc = GP_ERROR_CANCEL;
break;
}
+ gp_context_idle(context);
+
gp_file_append(file,
(char *) dp.buffer +
sc, dp.length - sc);