[mpv] better safe than sorry

This commit is contained in:
odrling 2021-03-26 21:56:21 +01:00
parent d27380cf4b
commit 74cf32fdfb

View file

@ -16,7 +16,7 @@ local catchup_until = settings.catchup_until
function stop_catchup()
local remaining = mp.get_property_number("demuxer-cache-duration")
local remaining = mp.get_property_number("demuxer-cache-duration", 0)
if remaining < catchup_until then
mp.set_property("speed", 1.00)