From d6c0853940f64de5b9d6b55a663db58871c6d7d9 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 4 Apr 2016 00:55:12 +0200 Subject: [PATCH] Fix a problem where the nut output would come way too uneven, given the VLC instance too much to do at some times and too little others. --- defs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/defs.h b/defs.h index d5874f2..0db1920 100644 --- a/defs.h +++ b/defs.h @@ -26,6 +26,9 @@ } // In bytes. Beware, if too small, stream clients will start dropping data. -#define MUX_BUFFER_SIZE 10485760 +// For mov, you want this at 10MB or so (for the reason mentioned above), +// but for nut, there's no flushing, so such a large mux buffer would cause +// the output to be very uneven. +#define MUX_BUFFER_SIZE 65536 #endif // !defined(_DEFS_H) -- 2.39.2