From ef2e9f51be36d2cf3fb36dc9684631d254a55bc6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 21 Feb 2021 10:32:39 +0100 Subject: [PATCH] movie is a toggle,. not text --- camlibs/ptp2/config.c | 2 +- camlibs/ptp2/panasonic-deviceprops.txt | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c index 65a6b664a..2c435c212 100644 --- a/camlibs/ptp2/config.c +++ b/camlibs/ptp2/config.c @@ -7978,7 +7978,7 @@ static int _get_Nikon_Movie(CONFIG_GET_ARGS) { int val; - gp_widget_new (GP_WIDGET_TEXT, _(menu->label), widget); + gp_widget_new (GP_WIDGET_TOGGLE, _(menu->label), widget); gp_widget_set_name (*widget,menu->name); val = 2; /* always changed */ gp_widget_set_value (*widget, &val); diff --git a/camlibs/ptp2/panasonic-deviceprops.txt b/camlibs/ptp2/panasonic-deviceprops.txt index 720635766..8cf818875 100644 --- a/camlibs/ptp2/panasonic-deviceprops.txt +++ b/camlibs/ptp2/panasonic-deviceprops.txt @@ -397,6 +397,27 @@ AFArea, 9108, 0x02000070 00 00 00 00 01 00 01 00 00 00 00 00 01 00 00 00 04 00 00 00 02 00 00 00 02 00 00 00 00 00 + 9108, 0x02000021 (subquery of just param) + + 21 00 00 02 + 14 00 00 00 + 14 00 00 00 01 00 01 00 00 00 00 00 01 00 00 00 6c 00 00 00 + + 21 00 00 02 + 14 00 00 00 + 14 00 00 00 01 00 01 00 00 00 00 00 01 00 00 00 50 00 00 00 + + 01 00 00 00 + 48 00 00 00 + 00 00 00 00 01 00 01 00 00 00 00 00 01 00 00 00 + 06 00 00 00 + 02 00 00 00 + 20 03 00 00 0a 00 00 00 + ff ff ff ff fe ff ff ff c8 00 00 00 90 01 00 00 + 20 03 00 00 40 06 00 00 80 0c 00 00 00 19 00 00 + 00 32 00 00 00 64 00 00 + + 9402, 0x02000070 71 00 00 02 02 00 00 00