aboutsummaryrefslogtreecommitdiffhomepage
path: root/player/lua
diff options
context:
space:
mode:
authorGravatar Tsukasa OMOTO <henry0312@gmail.com>2014-06-30 02:27:46 +0900
committerGravatar wm4 <wm4@nowhere>2014-06-29 20:39:49 +0200
commita73415584c9dbf920ec14d26d0b0629cae81b3d5 (patch)
tree52e4bb2911b888f97ba5b3d736235494e89311ce /player/lua
parent7412257305140e5a21a1acd35f6be546b9295dd5 (diff)
player: make the time display relative to start PTS
This commit makes the playback start time always at time 0. Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'player/lua')
-rw-r--r--player/lua/osc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 1fc3522230..32ca26168d 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -906,9 +906,9 @@ function osc_init()
local contentF = function (ass)
if state.tc_ms then
- ass:append(mp.get_property_osd("time-pos/full"))
+ ass:append(mp.get_property_osd("playback-time/full"))
else
- ass:append(mp.get_property_osd("time-pos"))
+ ass:append(mp.get_property_osd("playback-time"))
end
end