summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2017-04-23 22:18:47 +0200
committerMarcus Meissner <marcus@jet.franken.de>2017-04-23 22:19:18 +0200
commitd7e20d1f58f7d7bd3e7944a0d30a15b019aa7b98 (patch)
tree0500ed070f9132ddd546109c8b1a8f1615c0353c
parent9e00bbc684d29c1e6cbf60e2e45f56c4f9423b29 (diff)
downloadlibgphoto2-d7e20d1f58f7d7bd3e7944a0d30a15b019aa7b98.tar.gz
trigger bulb on the stillimage (press shutter full) DPC, not on
the autofocus DPC as that is used already fixes https://github.com/gphoto/libgphoto2/issues/159
-rw-r--r--camlibs/ptp2/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c
index 437cf5d5f..eadb07a5d 100644
--- a/camlibs/ptp2/config.c
+++ b/camlibs/ptp2/config.c
@@ -7042,7 +7042,7 @@ static struct submenu camera_actions_menu[] = {
{ N_("Capture"), "capture", PTP_DPC_SONY_Capture, PTP_VENDOR_SONY, PTP_DTC_UINT16, _get_Sony_Capture, _put_Sony_Capture },
{ N_("Power Down"), "powerdown", 0, 0, PTP_OC_PowerDown, _get_PowerDown, _put_PowerDown },
{ N_("Focus Lock"), "focuslock", 0, PTP_VENDOR_CANON, PTP_OC_CANON_FocusLock, _get_Canon_FocusLock, _put_Canon_FocusLock },
- { N_("Bulb Mode"), "bulb", 0xd2c1, PTP_VENDOR_SONY, 0, _get_Sony_Bulb, _put_Sony_Bulb },
+ { N_("Bulb Mode"), "bulb", PTP_DPC_SONY_StillImage,PTP_VENDOR_SONY, 0, _get_Sony_Bulb, _put_Sony_Bulb },
{ N_("Bulb Mode"), "bulb", 0, PTP_VENDOR_CANON, PTP_OC_CANON_EOS_BulbStart, _get_Canon_EOS_Bulb, _put_Canon_EOS_Bulb },
{ N_("Bulb Mode"), "bulb", 0, PTP_VENDOR_NIKON, PTP_OC_NIKON_TerminateCapture, _get_Nikon_Bulb, _put_Nikon_Bulb },
{ N_("UI Lock"), "uilock", 0, PTP_VENDOR_CANON, PTP_OC_CANON_EOS_SetUILock, _get_Canon_EOS_UILock, _put_Canon_EOS_UILock },