summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-07 17:27:24 +0200
committerwm4 <wm4@nowhere>2014-07-07 18:00:41 +0200
commite2b0416ae155039d940846336224b29f6d8655e5 (patch)
treeed3ae7c381840d90d1cf7f8fd21e214a4fe16098 /player/lua
parent02ca42c7f17cb03b79a4ce7625d669361b45fc94 (diff)
downloadmpv-e2b0416ae155039d940846336224b29f6d8655e5.tar.bz2
mpv-e2b0416ae155039d940846336224b29f6d8655e5.tar.xz
osc: fix failure when using DVD menus
[osc] Lua error: mp.assdraw:31: attempt to concatenate local 's' (a nil value)
Diffstat (limited to 'player/lua')
-rw-r--r--player/lua/osc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 32ca26168d..632d50d969 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -864,7 +864,7 @@ function osc_init()
possec = duration * (pos / 100)
return mp.format_time(possec)
else
- return nil
+ return ""
end
end