diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-07-25 00:02:23 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-07-25 00:02:23 +0200 |
| commit | 3bad2c1636a3e2e2809cd211cb8c3775a0ef3902 (patch) | |
| tree | 0f0ada7cc323254d64ee235807cadfff3a48baae /lib/python/Components/VideoWindow.py | |
| parent | 029c97915f5048d0e03b6fefe92b7829b336a65d (diff) | |
| download | enigma2-3bad2c1636a3e2e2809cd211cb8c3775a0ef3902.tar.gz enigma2-3bad2c1636a3e2e2809cd211cb8c3775a0ef3902.zip | |
make PIG working with HD Skins
Diffstat (limited to 'lib/python/Components/VideoWindow.py')
| -rw-r--r-- | lib/python/Components/VideoWindow.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Components/VideoWindow.py b/lib/python/Components/VideoWindow.py index 31190d95..2906aa31 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 |
