mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
neutrino: show only usable video modes and video options on TD
Origin commit data
------------------
Commit: bb3e8ebe23
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-11-28 (Sun, 28 Nov 2010)
This commit is contained in:
@@ -354,8 +354,10 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
sprintf(cfg_key, "enabled_video_mode_%d", i);
|
||||
g_settings.enabled_video_modes[i] = configfile.getInt32(cfg_key, 0);
|
||||
}
|
||||
#if VIDEOMENU_VIDEOMODE_OPTION_COUNT > 3
|
||||
g_settings.enabled_video_modes[3] = 1; // 720p 50Hz
|
||||
g_settings.enabled_video_modes[4] = 1; // 1080i 50Hz
|
||||
#endif
|
||||
|
||||
g_settings.cpufreq = configfile.getInt32("cpufreq", 0);
|
||||
g_settings.standby_cpufreq = configfile.getInt32("standby_cpufreq", 100);
|
||||
|
Reference in New Issue
Block a user