summaryrefslogtreecommitdiff
path: root/voctocore/lib/pipeline.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-06-16 15:24:24 +0200
committerMaZderMind <github@mazdermind.de>2015-06-16 15:24:24 +0200
commit59e394e00d6c29bf71c38996d09be1cc5647bfb7 (patch)
treeac3bbbd9543de7653805bb41ac6609d6ea81bacd /voctocore/lib/pipeline.py
parentb2c5c5cc6eb904db8e6c05d2281541b16d4a2ce8 (diff)
Implement ASource and VSource as generic sources
they are needed for the StreamBlanker-Feature as well
Diffstat (limited to 'voctocore/lib/pipeline.py')
-rw-r--r--voctocore/lib/pipeline.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/voctocore/lib/pipeline.py b/voctocore/lib/pipeline.py
index a45ea53..18b54dd 100644
--- a/voctocore/lib/pipeline.py
+++ b/voctocore/lib/pipeline.py
@@ -5,9 +5,10 @@ from gi.repository import Gst
# import library components
from lib.config import Config
from lib.avsource import AVSource
+from lib.asource import ASource
+from lib.vsource import VSource
from lib.avrawoutput import AVRawOutput
from lib.avpreviewoutput import AVPreviewOutput
-from lib.backgroundsource import BackgroundSource
from lib.videomix import VideoMix
from lib.audiomix import AudioMix
@@ -58,7 +59,7 @@ class Pipeline(object):
self.amix = AudioMix()
port = 16000
- self.bgsrc = BackgroundSource(port)
+ self.bgsrc = VSource('background', port)
port = 11000
self.log.info('Creating Mixer-Output at tcp-port %u', port)