summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-05-17 22:28:12 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commita3991078bde2266184fa3eb71b0e6228975f55db (patch)
tree9425be85fdd80e60ba6ef13289417d8752223ea5 /DOCS
parentf57fad4a4d1922eb9a0ac8f21fd3328756babd0c (diff)
downloadmpv-a3991078bde2266184fa3eb71b0e6228975f55db.tar.bz2
mpv-a3991078bde2266184fa3eb71b0e6228975f55db.tar.xz
demux, command: export bof/eof flags
Export these flags with demuxer-cache-state. Useful for debugging, but any client API users could also make use of it.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index a423f15bf2..99c8a3893b 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1450,6 +1450,13 @@ Property list
buffering amount, while the seek ranges represent the buffered data that
can actually be used for cached seeking.
+ ``bof-cached`` indicates whether the seek range with the lowest timestamp
+ points to the beginning of the stream (BOF). This implies you cannot seek
+ before this position at all. ``eof-cached`` indicates whether the seek range
+ with the highest timestamp points to the end of the stream (EOF). If both
+ ``bof-cached`` and ``eof-cached`` are set to ``yes``, the entire stream is
+ cached.
+
``fw-bytes`` is the number of bytes of packets buffered in the range
starting from the current decoding position.
@@ -1464,6 +1471,8 @@ Property list
MPV_FORMAT_NODE_MAP
"start" MPV_FORMAT_DOUBLE
"end" MPV_FORMAT_DOUBLE
+ "bof-cached" MPV_FORMAT_FLAG
+ "eof-cached" MPV_FORMAT_FLAG
"fw-bytes" MPV_FORMAT_INT64
Other fields (might be changed or removed in the future):