summaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-11-10 21:45:09 +0100
committerMaZderMind <git@mazdermind.de>2015-11-10 21:45:56 +0100
commit5fce7f7caa85c4234311b1660d85a0f66df77f80 (patch)
tree77a2c63618d355885180c3e5ac397c578ef1e7c1 /voctocore
parent33a91c979de22365ac694665288ab261a370fa4a (diff)
limit the number of queued buffers to avoid OOM conditions
Diffstat (limited to 'voctocore')
-rw-r--r--voctocore/lib/avpreviewoutput.py1
-rw-r--r--voctocore/lib/avrawoutput.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py
index b6c0fc1..9577a85 100644
--- a/voctocore/lib/avpreviewoutput.py
+++ b/voctocore/lib/avpreviewoutput.py
@@ -38,6 +38,7 @@ class AVPreviewOutput(TCPMultiConnection):
writing-app=Voctomix-AVPreviewOutput !
multifdsink
+ buffers-max=25
sync-method=next-keyframe
name=fd
""".format(
diff --git a/voctocore/lib/avrawoutput.py b/voctocore/lib/avrawoutput.py
index 0c363e6..dc32e97 100644
--- a/voctocore/lib/avrawoutput.py
+++ b/voctocore/lib/avrawoutput.py
@@ -29,6 +29,7 @@ class AVRawOutput(TCPMultiConnection):
writing-app=Voctomix-AVRawOutput !
multifdsink
+ buffers-max=25
sync-method=next-keyframe
name=fd
""".format(