summaryrefslogtreecommitdiffstats
path: root/etc
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 /etc
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 'etc')
0 files changed, 0 insertions, 0 deletions