demux, stream: readd cache-speed in some other form

it's more like an input speed rather than a cache speed, but who cares.
This commit is contained in:
wm4
2018-09-01 13:04:45 +02:00
committed by Anton Kindestam
parent b1ba7de34d
commit 4dfaa37384
7 changed files with 70 additions and 1 deletions

View File

@@ -1455,6 +1455,11 @@ Property list
playing at all. In other words, it's only ``no`` if there's actually
video playing. (Behavior since mpv 0.7.0.)
``cache-speed`` (R)
Current I/O read speed between the cache and the lower layer (like network).
This gives the number bytes per seconds over a 1 second window (using
the type ``MPV_FORMAT_INT64`` for the client API).
``demuxer-cache-duration``
Approximate duration of video buffered in the demuxer, in seconds. The
guess is very unreliable, and often the property will not be available