git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of /home/tmbinc/enigma2-git
[enigma2.git]
/
lib
/
python
/
Components
/
VideoWindow.py
diff --git
a/lib/python/Components/VideoWindow.py
b/lib/python/Components/VideoWindow.py
index db247980caf69e738dafd086c136bd3ffe69cc0a..31190d95046b19c48c1dbddf7e1a2dfc933099f1 100644
(file)
--- a/
lib/python/Components/VideoWindow.py
+++ b/
lib/python/Components/VideoWindow.py
@@
-2,11
+2,11
@@
from GUIComponent import GUIComponent
from enigma import eVideoWidget
class VideoWindow(GUIComponent):
from enigma import eVideoWidget
class VideoWindow(GUIComponent):
- def __init__(self):
+ def __init__(self
, decoder = 1
):
GUIComponent.__init__(self)
GUIComponent.__init__(self)
-
- def GUIcreate(self, parent):
- self.instance = eVideoWidget(parent)
+ self.decoder = decoder
- def GUIdelete(self):
- self.instance = None
+ GUI_WIDGET = eVideoWidget
+
+ def postWidgetCreate(self, instance):
+ instance.setDecoder(self.decoder)