aboutsummaryrefslogtreecommitdiff
path: root/voctocore/lib/avrawoutput.py
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-08-07 16:10:42 +0200
committerMaZderMind <git@mazdermind.de>2016-08-07 16:10:42 +0200
commitd136eddbc773923fba9e6ce63cb8f8da84e2eddb (patch)
tree503372af28f0eb10bab08ede4b42231956c05bff /voctocore/lib/avrawoutput.py
parent01adc30f691c2497d790d5d3cf97c7d96a7f705b (diff)
raise the buffer-limit for mix_out to 10000 buffers and make this configurable
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)