From a5773963246064c27c927a4d3c56a85ba9cf7d19 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 1 Apr 2023 10:07:30 +0200 Subject: [PATCH] multimedia: mpv: fix display of cache in OSD --- multimedia/mpv/mpv.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/mpv/mpv.conf b/multimedia/mpv/mpv.conf index eb4ff5c..d8d9329 100644 --- a/multimedia/mpv/mpv.conf +++ b/multimedia/mpv/mpv.conf @@ -1,6 +1,6 @@ # Mpv (mplayer2 fork) configuration file. -# Copyright (C) 2011-2016 Simon Ruderich +# Copyright (C) 2011-2023 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -59,7 +59,7 @@ osc=no # Display position/length and cache in the progress overlay ("P" binding). # Thanks to wm4 in $mpv-player on Freenode (2014-08-18 01:24 CEST). -osd-status-msg="${time-pos} / ${duration} (${percent-pos}%)${?cache-percent: Cache: ${cache-percent}%}" +osd-status-msg="${time-pos} / ${duration} (${percent-pos}%)${?demuxer-cache-duration: Cache: ${demuxer-cache-duration}s}" # Don't display attached pictures in sound files. audio-display=no -- 2.43.2