diff options
author | wm4 <wm4@nowhere> | 2015-01-26 13:46:33 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-26 13:46:33 +0100 |
commit | 00b261135248be957dd14ae9e8ca26430a39fae0 (patch) | |
tree | 4bf6d084daca59b6af930b1126d97ea6332c46af /DOCS/man/input.rst | |
parent | 792db4eee3173f15eb5003f571509d9eb7c12dcf (diff) | |
download | mpv-00b261135248be957dd14ae9e8ca26430a39fae0.tar.bz2 mpv-00b261135248be957dd14ae9e8ca26430a39fae0.tar.xz |
command: export more details about file seekability
If a file is unseekable (consider e.g. a http server without resume
functionality), but the stream cache is active, the player will enable
seeking anyway. Until know, client API user couldn't know that this
happens, and it has implications on how well seeking will work. So add a
property which exports whether this situation applies.
Fixes #1522.
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 18235ac687..c33629ee68 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1480,6 +1480,14 @@ Property list ``seekable`` Return whether it's generally possible to seek in the current file. +``partially-seekable`` + Return ``yes`` if the current file is considered seekable, but only because + the cache is active. This means small relative seeks may be fine, but larger + seeks may fail anyway. Whether a seek will succeed or not is generally not + known in advance. + + If this property returns true, ``seekable`` will also return true. + ``playback-abort`` Return whether playback is stopped or is to be stopped. (Useful in obscure situations like during ``on_load`` hook processing, when the user can |