aboutsummaryrefslogtreecommitdiff
path: root/voctogui
diff options
context:
space:
mode:
authorMartin Keßler <martin@moegger.de>2016-11-01 15:24:41 +0100
committerMartin Keßler <martin@moegger.de>2016-11-01 15:25:30 +0100
commitb52dd80c6e2b7c95e798bff9d6b075080b63aa1c (patch)
tree4c9f2d3bee347a526d4f25513186628c3339bff3 /voctogui
parent7ac47d6cd98a4f8d2fd124cd391a7b3d2914d5ca (diff)
fixed undefined variable when no previews are used
Diffstat (limited to 'voctogui')
-rw-r--r--voctogui/lib/videodisplay.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/voctogui/lib/videodisplay.py b/voctogui/lib/videodisplay.py
index 6c225ae..0714f80 100644
--- a/voctogui/lib/videodisplay.py
+++ b/voctogui/lib/videodisplay.py
@@ -44,6 +44,7 @@ class VideoDisplay(object):
else:
self.log.info('using raw-video instead of encoded-previews')
+ vdec = None
# Setup Server-Connection, Demuxing and Decoding
pipeline = """