aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-06-19 23:38:42 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-06-19 23:38:42 +0000
commite0e3801ef273ba3e35a87a57e97967be39caae74 (patch)
tree2f72c14208240c636ee7609e30ac0a15ae8f6e4b /lib/python
parent986da589d6a21ff3f869f6761dea3676ab21744a (diff)
downloadenigma2-e0e3801ef273ba3e35a87a57e97967be39caae74.tar.gz
enigma2-e0e3801ef273ba3e35a87a57e97967be39caae74.zip
make VideoWindow usable for main decoder too
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/VideoWindow.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/python/Components/VideoWindow.py b/lib/python/Components/VideoWindow.py
index 88cd33f9..31190d95 100644
--- a/lib/python/Components/VideoWindow.py
+++ b/lib/python/Components/VideoWindow.py
@@ -2,7 +2,11 @@ from GUIComponent import GUIComponent
from enigma import eVideoWidget
class VideoWindow(GUIComponent):
- def __init__(self):
+ def __init__(self, decoder = 1):
GUIComponent.__init__(self)
+ self.decoder = decoder
GUI_WIDGET = eVideoWidget
+
+ def postWidgetCreate(self, instance):
+ instance.setDecoder(self.decoder)