in getnumobjects to OC code should be PTP_OC_GetNumObjects
(as reported to libmtp) git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11298 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -685,7 +685,7 @@ ptp_getnumobjects (PTPParams* params, uint32_t storage,
|
||||
int len;
|
||||
|
||||
PTP_CNT_INIT(ptp);
|
||||
ptp.Code=PTP_OC_GetObjectHandles;
|
||||
ptp.Code=PTP_OC_GetNumObjects;
|
||||
ptp.Param1=storage;
|
||||
ptp.Param2=objectformatcode;
|
||||
ptp.Param3=associationOH;
|
||||
|
||||
Reference in New Issue
Block a user