Selaa lähdekoodia

Disable auto switching on RPI only

Sorry.
Vincent Lang 9 vuotta sitten
vanhempi
commit
15a01542b1
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/player/PlayerComponent.cpp

+ 2 - 0
src/player/PlayerComponent.cpp

@@ -247,8 +247,10 @@ 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