From b52dd80c6e2b7c95e798bff9d6b075080b63aa1c Mon Sep 17 00:00:00 2001 From: Martin Keßler Date: Tue, 1 Nov 2016 15:24:41 +0100 Subject: fixed undefined variable when no previews are used --- voctogui/lib/videodisplay.py | 1 + 1 file changed, 1 insertion(+) (limited to 'voctogui') 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 = """ -- cgit v1.2.3