summaryrefslogtreecommitdiff
path: root/voctocore/lib/video/mix.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/video/mix.py')
-rw-r--r--voctocore/lib/video/mix.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/voctocore/lib/video/mix.py b/voctocore/lib/video/mix.py
new file mode 100644
index 0000000..2d73d7b
--- /dev/null
+++ b/voctocore/lib/video/mix.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python3
+import logging
+from gi.repository import Gst
+
+from lib.config import Config
+
+class VideoMix(object):
+ log = logging.getLogger('VideoMix')
+
+ def __init__(self):
+ caps = Config.get('mix', 'videocaps')
+
+ names = Config.getlist('sources', 'video')
+ self.log.info('Configuring Mixer for %u Sources', len(names))
+ #for idx, name in enumerate():