summaryrefslogtreecommitdiff
path: root/voctocore/lib/avrawoutput.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/avrawoutput.py')
-rw-r--r--voctocore/lib/avrawoutput.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/voctocore/lib/avrawoutput.py b/voctocore/lib/avrawoutput.py
index 4603c30..5523a66 100644
--- a/voctocore/lib/avrawoutput.py
+++ b/voctocore/lib/avrawoutput.py
@@ -30,13 +30,17 @@ class AVRawOutput(TCPMultiConnection):
multifdsink
blocksize=1048576
- buffers-max=500
+ buffers-max={buffers_max}
sync-method=next-keyframe
name=fd
""".format(
channel=self.channel,
acaps=Config.get('mix', 'audiocaps'),
- vcaps=Config.get('mix', 'videocaps')
+ vcaps=Config.get('mix', 'videocaps'),
+ buffers_max=
+ Config.get('output-buffers', channel)
+ if Config.has_option('output-buffers', channel)
+ else 500,
)
self.log.debug('Creating Output-Pipeline:\n%s', pipeline)
self.outputPipeline = Gst.parse_launch(pipeline)