summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2017-03-16 15:53:58 +0100
committerMarcus Meissner <marcus@jet.franken.de>2017-03-16 15:53:58 +0100
commitfbc00cb51bb61ed86761142de4bf5b12e31bf144 (patch)
treec675ae67415237c3383ba778ad8903f03c9b44c1
parent7101499271f5d5a4e38b0b3740f98b20c15afe3a (diff)
downloadlibgphoto2-fbc00cb51bb61ed86761142de4bf5b12e31bf144.tar.gz
it seems pslr_bulb also needs a pslr_shutter afterwards
-rw-r--r--camlibs/pentax/library.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/camlibs/pentax/library.c b/camlibs/pentax/library.c
index cbe9fe860..6decd1487 100644
--- a/camlibs/pentax/library.c
+++ b/camlibs/pentax/library.c
@@ -461,7 +461,6 @@ next:
return GP_OK;
}
-#if 1
static int
camera_get_config (Camera *camera, CameraWidget **window, GPContext *context)
{
@@ -810,11 +809,13 @@ camera_set_config (Camera *camera, CameraWidget *window, GPContext *context)
gp_widget_set_changed (w, 0);
gp_widget_get_value (w, &bulb);
pslr_bulb (camera->pl, bulb);
+
+ if (bulb) /* also press the shutter */
+ pslr_shutter (camera->pl);
}
return GP_OK;
}
-#endif
static int
camera_exit (Camera *camera, GPContext *context)