fix when booting in scart mode (preferred modes will be empty)
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 30 Jan 2008 03:46:56 +0000 (03:46 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 30 Jan 2008 03:46:56 +0000 (03:46 +0000)
lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py

index 4d5b09f..701daaf 100644 (file)
@@ -57,9 +57,12 @@ class VideoHardware:
                self.last_modes_preferred =  [ ]
                self.on_hotplug = CList()
 
                self.last_modes_preferred =  [ ]
                self.on_hotplug = CList()
 
-               self.on_hotplug.append(self.createConfig)
 
                self.readAvailableModes()
 
                self.readAvailableModes()
+
+               self.createConfig()
+#              self.on_hotplug.append(self.createConfig)
+
                self.readPreferredModes()
 
                # until we have the hotplug poll socket
                self.readPreferredModes()
 
                # until we have the hotplug poll socket