aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-02-07 16:01:26 +0100
committerMaZderMind <git@mazdermind.de>2016-02-07 16:01:26 +0100
commitade18eda7372e1a8d855d0b98da1ab5eccbc30bb (patch)
tree7045f508668e5e0df3422bc51383daa234c2e963
parent9ad4f83327c472a7119d105891416b8c9cc3cdd1 (diff)
up the blocksize on the fdsrc to reduce the number of read()-syscalls
-rw-r--r--voctocore/lib/avsource.py2
1 files changed, 1 insertions, 1 deletions
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(