aboutsummaryrefslogtreecommitdiff
path: root/voctocore/lib/avpreviewoutput.py
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-02-05 12:23:56 +0100
committerMaZderMind <git@mazdermind.de>2016-02-05 12:23:56 +0100
commit6fcaad32a6247ac91ea17fc4bdefd3a005b0a02f (patch)
tree7d8b4730bb55219942b9eafeb81006b624abe735 /voctocore/lib/avpreviewoutput.py
parent3e4b04b2d1bfd96b7018a2058cbb0a847e012cf7 (diff)
swap audio & video around, so that 0.0 in the output is video and 0.1 is audio
Diffstat (limited to 'voctocore/lib/avpreviewoutput.py')
-rw-r--r--voctocore/lib/avpreviewoutput.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py
index 04ff637..6b3e3e5 100644
--- a/voctocore/lib/avpreviewoutput.py
+++ b/voctocore/lib/avpreviewoutput.py
@@ -18,11 +18,6 @@ class AVPreviewOutput(TCPMultiConnection):
vcaps_out = Config.get('mix', 'videocaps')
pipeline = """
- interaudiosrc channel=audio_{channel} !
- {acaps} !
- queue !
- mux.
-
intervideosrc channel=video_{channel} !
{vcaps_in} !
videorate !
@@ -32,6 +27,11 @@ class AVPreviewOutput(TCPMultiConnection):
queue !
mux.
+ interaudiosrc channel=audio_{channel} !
+ {acaps} !
+ queue !
+ mux.
+
matroskamux
name=mux
streamable=true