make workspace a Job property, fix preconditions, Task will automatically add to...
[enigma2.git] / lib / python / Components / VideoWindow.py
1 from GUIComponent import GUIComponent
2 from enigma import eVideoWidget
3
4 class VideoWindow(GUIComponent):
5         def __init__(self, decoder = 1):
6                 GUIComponent.__init__(self)
7                 self.decoder = decoder
8
9         GUI_WIDGET = eVideoWidget
10
11         def postWidgetCreate(self, instance):
12                 instance.setDecoder(self.decoder)