From ae93199131607a7ed6d41b73a238664f24b24c08 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 4 Nov 2023 22:55:41 +0300 Subject: [PATCH] Tearfree video --- mpv/.mpv/config | 2 +- mpv/bin/mp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mpv/.mpv/config b/mpv/.mpv/config index 44144f2..2f22da6 100644 --- a/mpv/.mpv/config +++ b/mpv/.mpv/config @@ -1,4 +1,4 @@ -vo=sdl +vo=gpu cache=yes cache-secs=60 display-tags=* diff --git a/mpv/bin/mp b/mpv/bin/mp index 903713c..ed9ace0 100755 --- a/mpv/bin/mp +++ b/mpv/bin/mp @@ -5,4 +5,5 @@ for arg ($@) { [[ $arg =~ "^[A-Z][A-Z0-9]$" ]] && arg="--profile=$arg" args=($args $arg) } +export vblank_mode=1 exec mpv $args -- 2.44.0