X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FPlugins%2FSystemPlugins%2FVideomode%2FVideoWizard.py;h=8fffa5a9837c6985be1a6464834f6a428bc5b17b;hp=f0fe140322cb85612258f82f653349774122d08d;hb=3861923553aad99f8b1a5ce5d81e7d9b035b65bb;hpb=edf2e7b1a646ca0a35ac2bc92e97a4b4b29c74f7 diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py index f0fe140..8fffa5a 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py @@ -48,7 +48,8 @@ class VideoWizard(Wizard): 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): @@ -86,4 +87,4 @@ class VideoWizard(Wizard): print "rateSelectionMade:", index def rateSelectionMoved(self): - print "selection moved:", self.selection \ No newline at end of file + print "selection moved:", self.selection