From 5fce7f7caa85c4234311b1660d85a0f66df77f80 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 10 Nov 2015 21:45:09 +0100 Subject: limit the number of queued buffers to avoid OOM conditions --- voctocore/lib/avpreviewoutput.py | 1 + voctocore/lib/avrawoutput.py | 1 + 2 files changed, 2 insertions(+) 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( -- cgit v1.2.3