restore normal speed when no subtitles is selected
This commit is contained in:
parent
f480c14de9
commit
d873898409
|
@ -59,7 +59,7 @@ function speed_transition(_, sub)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
elseif state == 1 then
|
elseif state == 1 then
|
||||||
if sub ~= "" and sub ~= nil then
|
if sub ~= "" and sub ~= nil or not mp.get_property_native("sid") then
|
||||||
mp.unobserve_property(check_position)
|
mp.unobserve_property(check_position)
|
||||||
restore_normalspeed()
|
restore_normalspeed()
|
||||||
state = 0
|
state = 0
|
||||||
|
|
Loading…
Reference in New Issue