aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-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)