From 64f9586219b252b5969de8319e5d25a88be69863 Mon Sep 17 00:00:00 2001 From: Daniel Fort <Dan@digiola.com> Date: Tue, 13 Feb 2018 17:11:39 -0800 Subject: [PATCH] Full-res LV is not available on cameras other than the 5D3 so remove it from the menu if the camera isn't a 5D3. --HG-- branch : crop_rec_4k --- modules/silent/silent.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/silent/silent.c b/modules/silent/silent.c index 5d63aee2a..7bb06f90b 100644 --- a/modules/silent/silent.c +++ b/modules/silent/silent.c @@ -1875,6 +1875,12 @@ static unsigned int silent_init() silent_menu[0].children[2].max = 1; } + if (!is_camera("5D3", "*")) + { + /* Full-res LV not available; hide from menu */ + silent_menu[0].children[0].max = 5; + } + menu_add("Shoot", silent_menu, COUNT(silent_menu)); return 0; -- GitLab