rename hdmi_mode -> hdmi_colorimetry

Origin commit data
------------------
Commit: bc5fd00d55
Author: TangoCash <eric@loxat.de>
Date: 2021-12-05 (Sun, 05 Dec 2021)
This commit is contained in:
TangoCash
2021-12-05 22:03:35 +01:00
committed by vanhofen
parent ca388247ce
commit d3373a3cfe
7 changed files with 38 additions and 38 deletions

View File

@@ -546,7 +546,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);
g_settings.hdmi_colorimetry = configfile.getInt32("hdmi_colorimetry", 0);
#endif
g_settings.cpufreq = g_info.hw_caps->can_cpufreq ? configfile.getInt32("cpufreq", 0) : 0;
@@ -1749,7 +1749,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);
configfile.setInt32("hdmi_colorimetry", g_settings.hdmi_colorimetry);
#endif
configfile.setInt32("cpufreq", g_settings.cpufreq);
@@ -3352,7 +3352,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);
videoDecoder->SetHDMIColorimetry((HDMI_COLORIMETRY) g_settings.hdmi_colorimetry);
#endif
TIMER_STOP("################################## after all ##################################");