videosettings: only arm hdmi_colormetry added

choices:

    - auto
    - bt202ncl
    - bt2020cl
    - bt709
This commit is contained in:
Frankenstone
2021-12-02 22:24:55 +01:00
committed by Thilo Graf
parent 6b5b4ce1c3
commit d1967125a0
7 changed files with 47 additions and 0 deletions

View File

@@ -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 ##################################");