Fix further regression in check_position

this has slipped by as the timers where purged from the code
This commit is contained in:
zenyd 2017-09-29 02:38:21 +02:00
parent 586734094e
commit 9c82eea4b3
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function check_position(_, position)
if nextsub ~= 0 and position >= (mark+nextsub-leadin) then
restore_normalspeed()
mp.unobserve_property(check_position)
elseif nextsub == 0 and position >= (mark+set_timeout()) then
elseif nextsub == 0 and position >= (mark+set_timeout()-leadin) then
nextsub, _ , mark = check_should_speedup()
end
end