mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
videosettings: only arm hdmi_colormetry added
choices: - auto - bt202ncl - bt2020cl - bt709
This commit is contained in:
@@ -542,6 +542,7 @@ int CNeutrinoApp::loadSetup(const char *fname)
|
||||
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
g_settings.zappingmode = configfile.getInt32("zappingmode", 0);
|
||||
g_settings.hdmimode = configfile.getInt32("hdmimode", 0);
|
||||
#endif
|
||||
|
||||
g_settings.cpufreq = g_info.hw_caps->can_cpufreq ? configfile.getInt32("cpufreq", 0) : 0;
|
||||
@@ -1700,6 +1701,7 @@ void CNeutrinoApp::saveSetup(const char *fname)
|
||||
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
configfile.setInt32("zappingmode", g_settings.zappingmode);
|
||||
configfile.setInt32("hdmimode", g_settings.hdmimode);
|
||||
#endif
|
||||
|
||||
configfile.setInt32("cpufreq", g_settings.cpufreq);
|
||||
@@ -3300,6 +3302,7 @@ TIMER_START();
|
||||
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
videoDecoder->SetControl(VIDEO_CONTROL_ZAPPING_MODE, g_settings.zappingmode);
|
||||
videoDecoder->SetHdmiMode((HDMI_MODE) g_settings.hdmimode);
|
||||
#endif
|
||||
|
||||
TIMER_STOP("################################## after all ##################################");
|
||||
|
Reference in New Issue
Block a user