X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3..e68a1617b7c1efbedf8b28309943dd7669daaad0:/lib/python/Components/VideoWindow.py 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)