]> git.sesse.net Git - nageru/commitdiff
Fix a problem where the nut output would come way too uneven, given the VLC instance...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 3 Apr 2016 22:55:12 +0000 (00:55 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 3 Apr 2016 22:55:12 +0000 (00:55 +0200)
defs.h

diff --git a/defs.h b/defs.h
index d5874f2116d4ae163e6d1e1078582757afa64bbd..0db1920ee7883c9cf5cc7cbd3af6fc9725238a2a 100644 (file)
--- 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)