From 88ed7fa71062d2021bee2bd0a014d8a60a1b353d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 29 Apr 2018 03:13:07 +0200 Subject: [PATCH] src/gui/videosettings.cpp: don't show entry for vf key settings Available on CS hardware TODO: make configurable for other keys on other hardware Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8f32d4286804476ec2eed9549c69088789a9f803 Author: Thilo Graf Date: 2018-04-29 (Sun, 29 Apr 2018) ------------------ This commit was generated by Migit --- src/gui/videosettings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/videosettings.cpp b/src/gui/videosettings.cpp index ddca0fcbc..e2d424c26 100644 --- a/src/gui/videosettings.cpp +++ b/src/gui/videosettings.cpp @@ -411,8 +411,10 @@ int CVideoSettings::showVideoSetup() if (VIDEOMENU_VIDEOMODE_OPTIONS[i].key != -1) videomodes.addItem(new CMenuOptionChooser(VIDEOMENU_VIDEOMODE_OPTIONS[i].valname, &g_settings.enabled_video_modes[i], OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, &anotify)); +#if !HAVE_ARM_HARDWARE //TODO: make configurable for other keys on other hardware vs_videomodes_fw = new CMenuForwarder(LOCALE_VIDEOMENU_ENABLED_MODES, true, NULL, &videomodes, NULL, CRCInput::RC_red); vs_videomodes_fw->setHint("", LOCALE_MENU_HINT_VIDEO_MODES); +#endif #ifdef BOXMODEL_CS_HD2 automodes.addIntroItems(LOCALE_VIDEOMENU_ENABLED_MODES_AUTO);