From 822b247d10fe14c83e8d31223a3922f68695a196 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 17 Dec 2017 22:11:10 +0100 Subject: player: show demuxer cache buffered amount in bytes in the status line I don't want to add another field to display stream and demuxer cache separately, so just add them up. This strangely makes sense, since the forward buffered stream cache amount consists of data not read by the demuxer yet. (If the demuxer cache has buffered the full stream, the forward buffered stream cache amount is 0.) --- DOCS/man/input.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 4e81a3ce2d..b67b490d8b 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1273,6 +1273,9 @@ Property list buffering amount, while the seek ranges represent the buffered data that can actually be used for cached seeking. + ``fw-bytes`` is the number of bytes of packets buffered in the range + starting from the current decoding position. + 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: @@ -1284,6 +1287,7 @@ Property list MPV_FORMAT_NODE_MAP "start" MPV_FORMAT_DOUBLE "end" MPV_FORMAT_DOUBLE + "fw-bytes" MPV_FORMAT_INT64 Other fields (might be changed or removed in the future): -- cgit v1.2.3