From: Steinar H. Gunderson Date: Sun, 3 Apr 2016 22:55:12 +0000 (+0200) Subject: Fix a problem where the nut output would come way too uneven, given the VLC instance... X-Git-Tag: 1.2.0~10 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=d6c0853940f64de5b9d6b55a663db58871c6d7d9 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. --- 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)