summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-28 22:28:21 +0200
committerwm4 <wm4@nowhere>2013-06-29 22:58:13 +0200
commitd4680aaecdc8711a878d973c74e223d49cdf9da3 (patch)
tree476f5f8550fcf505bfe98b7929dd21216d06ca8c /DOCS/man
parenta6a1f4b8336c0d18c0588922da6b786b6408209f (diff)
downloadmpv-d4680aaecdc8711a878d973c74e223d49cdf9da3.tar.bz2
mpv-d4680aaecdc8711a878d973c74e223d49cdf9da3.tar.xz
command: make raw percent-pos property return fractions
percent-pos was an integer (0-100). Sometimes higher precision is wanted, but the property is this way because fractional parts would look silly with normal OSD usage. As a compromise, make percent-pos double (i.e. includes fractional parts), but print it as integer. So ${percent-pos} is like an integer, but not ${=percent-pos}.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/en/input.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst
index cb5e57e7a2..440d1a655e 100644
--- a/DOCS/man/en/input.rst
+++ b/DOCS/man/en/input.rst
@@ -330,6 +330,7 @@ stream-time-pos x time position in source stream (also see time-pos)
length length of the current file in seconds
avsync last A/V synchronization difference
percent-pos x position in current file (0-100)
+ratio-pos x position in current file (0.0-1.0)
time-pos x position in current file in seconds
time-remaining estimated remaining length of the file in seconds
chapter x current chapter number