From c797d4040a1dfac3873b481111a84a5c557432f3 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Wed, 30 Jan 2008 03:46:56 +0000 Subject: [PATCH] fix when booting in scart mode (preferred modes will be empty) --- lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py index 4d5b09f..701daaf 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py @@ -57,9 +57,12 @@ class VideoHardware: self.last_modes_preferred = [ ] self.on_hotplug = CList() - self.on_hotplug.append(self.createConfig) self.readAvailableModes() + + self.createConfig() +# self.on_hotplug.append(self.createConfig) + self.readPreferredModes() # until we have the hotplug poll socket -- 2.7.4