From d4680aaecdc8711a878d973c74e223d49cdf9da3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 28 Jun 2013 22:28:21 +0200 Subject: 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}. --- DOCS/man/en/input.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'DOCS/man') 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 -- cgit v1.2.3