Pārlūkot izejas kodu

Disable auto switching on RPI only

Sorry.
Vincent Lang 9 gadi atpakaļ
vecāks
revīzija
15a01542b1
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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