diff --git a/camlibs/ptp2/ChangeLog b/camlibs/ptp2/ChangeLog index f2a7556e1..32192eb23 100644 --- a/camlibs/ptp2/ChangeLog +++ b/camlibs/ptp2/ChangeLog @@ -1,3 +1,6 @@ +2003-08-29 Mariusz Woloszyn + * library.c: allow downloading thumbnail of nonimage objects, + however only in case that the ThumbCompressedSize is greater than 0 2003-08-28 Mariusz Woloszyn * library.c: added Canon IXUS 400, thanks to Till Kamppeter 2003-08-28 Mariusz Woloszyn diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 391bc9b4e..b7925dd04 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -873,7 +873,8 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, case GP_FILE_TYPE_PREVIEW: /* Don't allow to get thumb of nonimage objects! */ - if ((oi->ObjectFormat & 0x0800) == 0) return (GP_ERROR_NOT_SUPPORTED); + // Redundant??? +// if ((oi->ObjectFormat & 0x0800) == 0) return (GP_ERROR_NOT_SUPPORTED); /* if no thumb, for some reason */ if((size=oi->ThumbCompressedSize)==0) return (GP_ERROR_NOT_SUPPORTED); CPR (context, ptp_getthumb(&camera->pl->params,