From 58a7e4ec0b43529be28dbe7151b8dbd2331bc5b4 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 25 Feb 2018 10:57:11 +0100 Subject: [PATCH] updated news --- NEWS | 10 ++++++++++ camlibs/ptp2/ptp.c | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 1be124066..fd4a95b78 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,15 @@ libgphoto2 2.5.16.1 development +ptp2: +* Apple iOSX: handle root directory objects that have ParentObject==StorageID instead of 0 +* implement PTP 1.1 Manifest reading and hook into filesystem. currently only supported + by Apple iOS. +* Canon EOS: prepare capture needs to wait a bit on a crucial place to get all events. + might fix some PTP Device Busy reports. + +pentax: +* Code updates imported from pkremote + ------------------------------------------------------------------------------ libgphoto2 2.5.16 release diff --git a/camlibs/ptp2/ptp.c b/camlibs/ptp2/ptp.c index 852e00be2..06b487acd 100644 --- a/camlibs/ptp2/ptp.c +++ b/camlibs/ptp2/ptp.c @@ -2154,7 +2154,7 @@ ptp_list_folder_eos (PTPParams *params, uint32_t storage, uint32_t handle) { PTPStorageIDs storageids; PTPObject *ob; - if (handle != 0xffffffff) { + if ((handle != 0xffffffff) && (handle != 0)) { ret = ptp_object_want (params, handle, PTPOBJECT_OBJECTINFO_LOADED, &ob); if ((ret == PTP_RC_OK) && (ob->flags & PTPOBJECT_DIRECTORY_LOADED)) return PTP_RC_OK;