1 from GUIComponent import GUIComponent
2 from enigma import eVideoWidget, eSize
4 class VideoWindow(GUIComponent):
5 def __init__(self, decoder = 1, fb_width = 720, fb_height = 576):
6 GUIComponent.__init__(self)
8 self.fb_width = fb_width
9 self.fb_height = fb_height
11 GUI_WIDGET = eVideoWidget
13 def postWidgetCreate(self, instance):
14 instance.setDecoder(self.decoder)
15 instance.setFBSize(eSize(self.fb_width, self.fb_height));