diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-06-19 23:38:42 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-06-19 23:38:42 +0000 |
| commit | e0e3801ef273ba3e35a87a57e97967be39caae74 (patch) | |
| tree | 2f72c14208240c636ee7609e30ac0a15ae8f6e4b /lib/python/Components/VideoWindow.py | |
| parent | 986da589d6a21ff3f869f6761dea3676ab21744a (diff) | |
| download | enigma2-e0e3801ef273ba3e35a87a57e97967be39caae74.tar.gz enigma2-e0e3801ef273ba3e35a87a57e97967be39caae74.zip | |
make VideoWindow usable for main decoder too
Diffstat (limited to 'lib/python/Components/VideoWindow.py')
| -rw-r--r-- | lib/python/Components/VideoWindow.py | 6 |
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) |
