use special refresh rate selection for DVI ports
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / Videomode / VideoWizard.py
index f0fe140..8fffa5a 100644 (file)
@@ -48,7 +48,8 @@ class VideoWizard(Wizard):
                list = []
 
                for port in self.hw.getPortList():
                list = []
 
                for port in self.hw.getPortList():
-                       list.append((port, port))
+                       if self.hw.isPortUsed(port):
+                               list.append((port, port))
                return list
 
        def inputSelectionMade(self, index):
                return list
 
        def inputSelectionMade(self, index):
@@ -86,4 +87,4 @@ class VideoWizard(Wizard):
                print "rateSelectionMade:", index
                
        def rateSelectionMoved(self):
                print "rateSelectionMade:", index
                
        def rateSelectionMoved(self):
-               print "selection moved:", self.selection
\ No newline at end of file
+               print "selection moved:", self.selection