From 11d223228cbaa22cbd42f2e8e2b7f5b6c12989a9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 7 Feb 2020 16:15:55 +0100 Subject: command: add cache-duration to cache state property Convenience; see following commit. --- DOCS/man/input.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 75709d1adf..488420cd10 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1800,6 +1800,8 @@ Property list includes all overhead, and possibly unused data (like pruned data). This member is missing if the file cache is not active. + ``cache-duration`` is ``demuxer-cache-duration``. Missing if unavailable. + When querying the property with the client API using ``MPV_FORMAT_NODE``, or with Lua ``mp.get_property_native``, this will return a mpv_node with the following contents: @@ -1815,6 +1817,7 @@ Property list "eof-cached" MPV_FORMAT_FLAG "fw-bytes" MPV_FORMAT_INT64 "file-cache-bytes" MPV_FORMAT_INT64 + "cache-duration" MPV_FORMAT_DOUBLE Other fields (might be changed or removed in the future): -- cgit v1.2.3