diff options
author | Tsukasa OMOTO <henry0312@gmail.com> | 2014-06-30 02:27:46 +0900 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-29 20:39:49 +0200 |
commit | a73415584c9dbf920ec14d26d0b0629cae81b3d5 (patch) | |
tree | 52e4bb2911b888f97ba5b3d736235494e89311ce /player/lua | |
parent | 7412257305140e5a21a1acd35f6be546b9295dd5 (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.lua | 4 |
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 |