From d8738984098e8ce56b172b6e770cee4c0f5b62c9 Mon Sep 17 00:00:00 2001 From: zenyd Date: Sat, 30 Sep 2017 18:14:00 +0200 Subject: [PATCH] restore normal speed when no subtitles is selected --- speed-transition.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speed-transition.lua b/speed-transition.lua index 4e78d36..fc59c85 100644 --- a/speed-transition.lua +++ b/speed-transition.lua @@ -59,7 +59,7 @@ function speed_transition(_, sub) end end 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) restore_normalspeed() state = 0