diff options
author | Vivek Jain <viveksjain@gmail.com> | 2013-12-16 22:55:36 +0800 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-16 20:07:50 +0100 |
commit | 908dfa7949fb7666ac84513189448d96ea0e4be4 (patch) | |
tree | baf56a27595a30350e066797ed3b75e214c7e89a /mpvcore/player/lua | |
parent | e51808ea22f80a23f66db41971456b552c8a93f3 (diff) | |
download | mpv-908dfa7949fb7666ac84513189448d96ea0e4be4.tar.bz2 mpv-908dfa7949fb7666ac84513189448d96ea0e4be4.tar.xz |
command: scale osd’s time remaining by the current speed
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'mpvcore/player/lua')
-rw-r--r-- | mpvcore/player/lua/osc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/player/lua/osc.lua b/mpvcore/player/lua/osc.lua index f105d10a9c..d1dbf3e8b4 100644 --- a/mpvcore/player/lua/osc.lua +++ b/mpvcore/player/lua/osc.lua @@ -1020,9 +1020,9 @@ function osc_init() local contentF = function (ass) if state.rightTC_trem == true then if state.tc_ms then - ass:append("-" .. mp.property_get_string("time-remaining/full")) + ass:append("-" .. mp.property_get_string("playtime-remaining/full")) else - ass:append("-" .. mp.property_get_string("time-remaining")) + ass:append("-" .. mp.property_get_string("playtime-remaining")) end else if state.tc_ms then |