From ade18eda7372e1a8d855d0b98da1ab5eccbc30bb Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 7 Feb 2016 16:01:26 +0100 Subject: up the blocksize on the fdsrc to reduce the number of read()-syscalls --- voctocore/lib/avsource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'voctocore/lib/avsource.py') diff --git a/voctocore/lib/avsource.py b/voctocore/lib/avsource.py index f814c45..aa604b2 100644 --- a/voctocore/lib/avsource.py +++ b/voctocore/lib/avsource.py @@ -22,7 +22,7 @@ class AVSource(TCPSingleConnection): def on_accepted(self, conn, addr): pipeline = """ - fdsrc fd={fd} ! + fdsrc fd={fd} blocksize=1048576 ! queue ! matroskademux name=demux """.format( -- cgit v1.2.3