mirror of https://github.com/mpv-player/mpv
TOOLS/lua: no longer gsub out "lua/" prefix, now that its no longer there
This commit is contained in:
parent
040c050f2d
commit
74984aaff1
|
@ -26,7 +26,7 @@
|
|||
-- to mpv's arguments. This may be desirable to allow cropdetect more
|
||||
-- time to collect data.
|
||||
|
||||
script_name=string.gsub(mp.get_script_name(),"lua/","")
|
||||
script_name=mp.get_script_name()
|
||||
cropdetect_label=string.format("%s-cropdetect",script_name)
|
||||
crop_label=string.format("%s-crop",script_name)
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-- OSD feedback of the current filter state is displayed on pressing
|
||||
-- each bound key.
|
||||
|
||||
script_name=mp.get_script_name():gsub("lua/","",1)
|
||||
script_name=mp.get_script_name()
|
||||
|
||||
function print_state(params)
|
||||
if params then
|
||||
|
|
Loading…
Reference in New Issue