diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2011-12-10 17:54:17 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2011-12-10 17:54:17 +0000 |
commit | 514f520551c9978e75dcd89b4c3fbfeb05ebfbbb (patch) | |
tree | 665a504805d74a60b38f51fcc7f59da8db57b6e1 | |
parent | 1adf8c9b19642a55a871ca2d14b021322f82e8aa (diff) | |
download | libgphoto2-514f520551c9978e75dcd89b4c3fbfeb05ebfbbb.tar.gz |
support full depth retrieval
git-svn-id: https://svn.code.sf.net/p/gphoto/code/branches/libgphoto2-2_4/libgphoto2@13811 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | camlibs/ptp2/ptp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/ptp2/ptp.c b/camlibs/ptp2/ptp.c index c84256f65..2c17502f1 100644 --- a/camlibs/ptp2/ptp.c +++ b/camlibs/ptp2/ptp.c @@ -2774,7 +2774,7 @@ ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **p ptp.Param2 = 0x00000000U; /* 0x00000000U should be "all formats" */ ptp.Param3 = 0xFFFFFFFFU; /* 0xFFFFFFFFU should be "all properties" */ ptp.Param4 = 0x00000000U; - ptp.Param5 = 0x00000000U; + ptp.Param5 = 0xFFFFFFFFU; /* return all objects within the tree */ ptp.Nparam = 5; ret = ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &opldata, &oplsize); if (ret == PTP_RC_OK) *nrofprops = ptp_unpack_OPL(params, opldata, props, oplsize); |