X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FVideoWindow.py;h=2906aa31134d8a006c563d027b8de6968d2d4d9e;hb=e2be31452f7c2d90fa7008583f36d6a6583cc83a;hp=31190d95046b19c48c1dbddf7e1a2dfc933099f1;hpb=e0e3801ef273ba3e35a87a57e97967be39caae74;p=vuplus_dvbapp diff --git a/lib/python/Components/VideoWindow.py b/lib/python/Components/VideoWindow.py index 31190d9..2906aa3 100644 --- a/lib/python/Components/VideoWindow.py +++ b/lib/python/Components/VideoWindow.py @@ -1,12 +1,15 @@ from GUIComponent import GUIComponent -from enigma import eVideoWidget +from enigma import eVideoWidget, eSize class VideoWindow(GUIComponent): - def __init__(self, decoder = 1): + def __init__(self, decoder = 1, fb_width = 720, fb_height = 576): GUIComponent.__init__(self) self.decoder = decoder + self.fb_width = fb_width + self.fb_height = fb_height GUI_WIDGET = eVideoWidget def postWidgetCreate(self, instance): instance.setDecoder(self.decoder) + instance.setFBSize(eSize(self.fb_width, self.fb_height)); \ No newline at end of file