From e02ec8019277c78d472d6485da85c70e36487115 Mon Sep 17 00:00:00 2001 From: ChrisK2 Date: Sat, 26 Oct 2013 11:08:06 +0200 Subject: osc: fix bug for no-duration cases --- mpvcore/lua/osc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpvcore/lua/osc.lua b/mpvcore/lua/osc.lua index ce918a539b..6d523e9250 100644 --- a/mpvcore/lua/osc.lua +++ b/mpvcore/lua/osc.lua @@ -958,7 +958,7 @@ function osc_init() metainfo.slider.border = 1 metainfo.slider.gap = 1 -- >1 will draw triangle markers metainfo.slider.type = "slider" -- "bar" for old bar-style filling - if (user_opts.seektooltip) then + if (user_opts.seektooltip) and (not (mp.property_get("length") == nil)) then metainfo.slider.tooltipF = tooltipF end -- cgit v1.2.3