From 1bfd26ccce0cf3c2f2c7df7fbac8270d7a019efc Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 6 Sep 2015 13:50:37 +0200 Subject: Use Sources-List from Server-Config --- voctogui/lib/videopreviews.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'voctogui/lib') diff --git a/voctogui/lib/videopreviews.py b/voctogui/lib/videopreviews.py index d6a18ec..80dba16 100644 --- a/voctogui/lib/videopreviews.py +++ b/voctogui/lib/videopreviews.py @@ -1,6 +1,7 @@ import logging from gi.repository import Gst, Gtk +from lib.config import Config from lib.videodisplay import VideoDisplay class VideoPreviewsController(object): @@ -12,7 +13,7 @@ class VideoPreviewsController(object): self.drawing_area = drawing_area self.win = win - self.sources = ['cam1', 'cam2', 'grabber'] + self.sources = Config.getlist('mix', 'sources') self.preview_players = {} self.previews = {} -- cgit v1.2.3