diff options
author | MaZderMind <git@mazdermind.de> | 2015-09-06 13:50:37 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-09-06 13:50:37 +0200 |
commit | 1bfd26ccce0cf3c2f2c7df7fbac8270d7a019efc (patch) | |
tree | f65719efdc9d5d9f7fd0b156ff9847f487d6e5d1 /voctogui/lib/videopreviews.py | |
parent | a81c891defff6bb44d1e5e3d780efe831d184a92 (diff) |
Use Sources-List from Server-Config
Diffstat (limited to 'voctogui/lib/videopreviews.py')
-rw-r--r-- | voctogui/lib/videopreviews.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 = {} |