summaryrefslogtreecommitdiffstats
path: root/TOOLS/lua/autocrop.lua
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/lua/autocrop.lua')
-rw-r--r--TOOLS/lua/autocrop.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/lua/autocrop.lua b/TOOLS/lua/autocrop.lua
index 84c712e412..55cf817950 100644
--- a/TOOLS/lua/autocrop.lua
+++ b/TOOLS/lua/autocrop.lua
@@ -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)