Browse Source

Disable auto switching on RPI only

Sorry.
Vincent Lang 9 năm trước cách đây
mục cha
commit
15a01542b1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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