fix cutlist editor for HD skins
[enigma2.git] / lib / python / Plugins / Extensions / CutListEditor / plugin.py
index abd606d6fa2d9e1bd15580507f485e7f29b3cfee..0627df3b6a7c0f2f2df557f6e28c389101fcea18 100644 (file)
@@ -10,7 +10,7 @@ from Components.VideoWindow import VideoWindow
 from Components.Label import Label
 from Screens.InfoBarGenerics import InfoBarSeek, InfoBarCueSheetSupport
 from Components.GUIComponent import GUIComponent
-from enigma import eListboxPythonMultiContent, eListbox, gFont, iPlayableService, RT_HALIGN_RIGHT
+from enigma import eListboxPythonMultiContent, eListbox, getDesktop, gFont, iPlayableService, RT_HALIGN_RIGHT
 from Screens.FixedMenu import FixedMenu
 from Screens.HelpMenu import HelpableScreen
 from ServiceReference import ServiceReference
@@ -167,7 +167,8 @@ class CutListEditor(Screen, InfoBarBase, InfoBarSeek, InfoBarCueSheetSupport, He
                self.onPlayStateChanged.append(self.updateStateLabel)
                self.updateStateLabel(self.seekstate)
 
-               self["Video"] = VideoWindow(decoder = 0)
+               desktopSize = getDesktop(0).size()
+               self["Video"] = VideoWindow(decoder = 0, fb_width=desktopSize.width(), fb_height=desktopSize.height())
 
                self["actions"] = HelpableActionMap(self, "CutListEditorActions",
                        {