From 1cf458baa8219a7f30d37a574f0201b0c7285ef1 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Thu, 18 Jun 2015 19:20:31 +0200 Subject: Make Audio-Output configurable --- voctogui/lib/ui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'voctogui/lib') diff --git a/voctogui/lib/ui.py b/voctogui/lib/ui.py index e066a90..ebf412e 100644 --- a/voctogui/lib/ui.py +++ b/voctogui/lib/ui.py @@ -28,7 +28,8 @@ class Ui(UiBuilder): def configure_video_main(self): video = self.find_widget_recursive(self.win, 'video_main') audiolevel = self.find_widget_recursive(self.win, 'audiolevel_main') - self.video_main_player = VideoDisplay(11000, video, audiolevel, playaudio=True) + self.video_main_player = VideoDisplay(11000, video, audiolevel, + playaudio=Config.getboolean('mainvideo', 'playaudio')) def configure_video_previews(self): sources = ['cam1', 'cam2', 'grabber'] -- cgit v1.2.3