Browse Source

Disable auto switching on RPI

It mysteriously crashes web-client in most cases. The reason is unknown.
It effectively breaks video playback. Force-disable it for now.
Vincent Lang 9 years ago
parent
commit
8f0f41ae43

+ 5 - 1
release-notes/1.0.2.txt

@@ -20,4 +20,8 @@ FIXES:
 - Properly remove AC3 transcoding filter when it is to be disabled.
 - Improve InputCEC to not block the main thread.
 - Make CEC handle properly longpress
-- Improve CEC ability to recover to connection loss.
+- Improve CEC ability to recover to connection loss.
+
+KNOWN BUGS:
+- Refresh rate auto switching is disabled on the RPI for now due to reliability
+  problems

+ 2 - 1
resources/settings/settings_description.json

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

+ 3 - 0
src/player/PlayerComponent.cpp

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