Browse Source

Enable refresh rate switching on RPI again

It probably works now. It needs testing.
Vincent Lang 9 years ago
parent
commit
777cf66161
2 changed files with 1 additions and 7 deletions
  1. 1 2
      resources/settings/settings_description.json
  2. 0 5
      src/player/PlayerComponent.cpp

+ 1 - 2
resources/settings/settings_description.json

@@ -165,8 +165,7 @@
       },
       {
         "value": "refreshrate.auto_switch",
-        "default": false,
-        "platforms_excluded": "oe_rpi"
+        "default": false
       },
       {
         "value": "refreshrate.delay",

+ 0 - 5
src/player/PlayerComponent.cpp

@@ -254,11 +254,6 @@ bool PlayerComponent::switchDisplayFrameRate()
     return false;
   }
 
-#ifdef TARGET_RPI
-  QLOG_DEBUG() << "Refresh-rate auto switching is disabled on the RPI in this version.";
-  return false;
-#endif
-
   bool fs = SettingsComponent::Get().value(SETTINGS_SECTION_MAIN, "fullscreen").toBool();
 #if KONVERGO_OPENELEC
   fs = true;