From bfbe7c34672fa78ddb98d3e713b1591ca20e2cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 23 Oct 2021 22:11:08 +0200 Subject: [PATCH] Added cache mpv --- .config/mpv/mpv.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 6d42a61..548cce8 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -6,7 +6,6 @@ force-window=yes keep-open=yes # Always save the current playback position on exit save-position-on-quit=yes - # Create 'high-quality' profile [high-quality] # Describe this profile @@ -15,3 +14,7 @@ profile-desc="High quality rendering" profile=opengl-hq # Disable debanding for better performance deband=no +# restrict readahead and backbuffer to 40MiB from default of 400MiB +cache=yes +demuxer-max-bytes=41943040 +demuxer-max-back-bytes=41943040