mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +00:00
osc: fix failure when using DVD menus
[osc] Lua error: mp.assdraw:31: attempt to concatenate local 's' (a nil value)
This commit is contained in:
parent
02ca42c7f1
commit
e2b0416ae1
@ -864,7 +864,7 @@ function osc_init()
|
||||
possec = duration * (pos / 100)
|
||||
return mp.format_time(possec)
|
||||
else
|
||||
return nil
|
||||
return ""
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user