summaryrefslogtreecommitdiff
path: root/voctogui/lib/videopreviews.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctogui/lib/videopreviews.py')
-rw-r--r--voctogui/lib/videopreviews.py3
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 = {}