From e0e3801ef273ba3e35a87a57e97967be39caae74 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Tue, 19 Jun 2007 23:38:42 +0000 Subject: make VideoWindow usable for main decoder too --- lib/python/Components/VideoWindow.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/python/Components') 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) -- cgit v1.2.3