summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2017-05-09 07:40:14 +0200
committerMarcus Meissner <marcus@jet.franken.de>2017-05-09 07:40:14 +0200
commit1c057c2c9aa1017d7ce4f2f83958e92b8bc6c8f2 (patch)
tree6ff71a5ada41ae38115ba7e04f3925d9912d033b
parent60ef078e8eb7e80e051467edabdcc3e8b9d0eb09 (diff)
downloadlibgphoto2-1c057c2c9aa1017d7ce4f2f83958e92b8bc6c8f2.tar.gz
uu
-rw-r--r--camlibs/ptp2/config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c
index 0b758fbbf..1967450b0 100644
--- a/camlibs/ptp2/config.c
+++ b/camlibs/ptp2/config.c
@@ -479,6 +479,14 @@ camera_prepare_capture (Camera *camera, GPContext *context)
GP_LOG_D ("prepare_capture");
switch (params->deviceinfo.VendorExtensionID) {
+ case PTP_VENDOR_FUJI:
+ {
+ PTPPropertyValue propval;
+
+ propval.u16 = 0x0002;
+ return ptp_setdevicepropvalue (params, 0xd207, &propval, PTP_DTC_UINT16);
+ }
+ break;
case PTP_VENDOR_CANON:
if (ptp_operation_issupported(params, PTP_OC_CANON_InitiateReleaseControl))
return camera_prepare_canon_powershot_capture(camera,context);