mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
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: 8f32d42868
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-29 (Sun, 29 Apr 2018)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -411,8 +411,10 @@ int CVideoSettings::showVideoSetup()
|
|||||||
if (VIDEOMENU_VIDEOMODE_OPTIONS[i].key != -1)
|
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));
|
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 = new CMenuForwarder(LOCALE_VIDEOMENU_ENABLED_MODES, true, NULL, &videomodes, NULL, CRCInput::RC_red);
|
||||||
vs_videomodes_fw->setHint("", LOCALE_MENU_HINT_VIDEO_MODES);
|
vs_videomodes_fw->setHint("", LOCALE_MENU_HINT_VIDEO_MODES);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef BOXMODEL_CS_HD2
|
#ifdef BOXMODEL_CS_HD2
|
||||||
automodes.addIntroItems(LOCALE_VIDEOMENU_ENABLED_MODES_AUTO);
|
automodes.addIntroItems(LOCALE_VIDEOMENU_ENABLED_MODES_AUTO);
|
||||||
|
Reference in New Issue
Block a user