diff options
author | wm4 <wm4@nowhere> | 2013-06-28 22:28:21 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-29 22:58:13 +0200 |
commit | d4680aaecdc8711a878d973c74e223d49cdf9da3 (patch) | |
tree | 476f5f8550fcf505bfe98b7929dd21216d06ca8c /core/encode.h | |
parent | a6a1f4b8336c0d18c0588922da6b786b6408209f (diff) | |
download | mpv-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 'core/encode.h')
0 files changed, 0 insertions, 0 deletions