aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/SystemInfo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/Components/SystemInfo.py b/lib/python/Components/SystemInfo.py
index f33a8552..844c9544 100644
--- a/lib/python/Components/SystemInfo.py
+++ b/lib/python/Components/SystemInfo.py
@@ -6,5 +6,6 @@ def getNumVideoDecoders():
idx = 0
while fileExists("/dev/dvb/adapter0/video%d"%(idx), 'w'):
idx += 1
+ return idx
SystemInfo["NumVideoDecoders"] = getNumVideoDecoders()