diff options
author | 2016-12-04 11:10:58 +0300 | |
---|---|---|
committer | 2016-12-04 13:18:19 +0100 | |
commit | f53b2952ebfc109da9cedba4b26323222c1a7500 (patch) | |
tree | 4cfbab4206cc6204ee32e16f3c44075853d79d76 | |
parent | 5544ffecd92d898715b95f2d1913db3586eed855 (diff) |
osc: replace length property with duration
Length property is deprecated and no longer works. This fixes
a bug when the total file duration wasn't visible if the
option to display milliseconds was activated.
-rw-r--r-- | player/lua/osc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 63d0740c6a..4ad6929800 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -1766,7 +1766,7 @@ function osc_init() end else if state.tc_ms then - return (mp.get_property_osd("length/full")) + return (mp.get_property_osd("duration/full")) else return (mp.get_property_osd("duration")) end |