summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-07 21:05:15 +0100
committerwm4 <wm4@nowhere>2019-11-07 22:53:13 +0100
commit1ab5d829ce7014595e1a6995b078d98b5721bfbb (patch)
treec6584f3b777a9d71bb8356d3e0e32f49f74c66af
parent573673e6aa0a9562433882f14a46ae0b249d0e10 (diff)
downloadmpv-1ab5d829ce7014595e1a6995b078d98b5721bfbb.tar.bz2
mpv-1ab5d829ce7014595e1a6995b078d98b5721bfbb.tar.xz
builtin.conf: set minimal --stream-buffer-size
Some stream inputs may have higher latency with higher buffer sizes, for example network filesystems via normal OS filesystem interface (these have to wait until the full buffer is read, which means higher latency). Probably doesn't matter in practice, but why take chances.
-rw-r--r--etc/builtin.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/builtin.conf b/etc/builtin.conf
index 574d342f21..a5e174e964 100644
--- a/etc/builtin.conf
+++ b/etc/builtin.conf
@@ -61,6 +61,7 @@ demuxer-lavf-analyzeduration=0.1 # if it probes, reduce it
video-sync=audio # DS currently requires reading ahead a frame
interpolation=no # requires reference frames (more buffering)
video-latency-hacks=yes # typically 1 or 2 video frame less latency
+stream-buffer-size=4k # minimal buffer size; normally not needed
[sw-fast]
# For VOs which use software scalers, also affects screenshots and others.