summaryrefslogtreecommitdiffstats
path: root/TOOLS/lua/autocrop.lua
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-05-06 09:59:59 -0700
committerKevin Mitchell <kevmitch@gmail.com>2014-05-06 09:59:59 -0700
commit6e62779e98b3071330446df5ac074ff5b5aa3edf (patch)
tree0b89c3f66a86635235d0d496f42054d1c24d7f2f /TOOLS/lua/autocrop.lua
parent088031f6918a9a1bc95616f79612440f0bd2e7f5 (diff)
downloadmpv-6e62779e98b3071330446df5ac074ff5b5aa3edf.tar.bz2
mpv-6e62779e98b3071330446df5ac074ff5b5aa3edf.tar.xz
TOOLS/lua: conform to whitespace coding-style
Diffstat (limited to 'TOOLS/lua/autocrop.lua')
-rw-r--r--TOOLS/lua/autocrop.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/TOOLS/lua/autocrop.lua b/TOOLS/lua/autocrop.lua
index 2523dd99de..bf598e8b05 100644
--- a/TOOLS/lua/autocrop.lua
+++ b/TOOLS/lua/autocrop.lua
@@ -27,9 +27,9 @@
-- time to collect data.
require "mp.msg"
-script_name=mp.get_script_name()
-cropdetect_label=string.format("%s-cropdetect",script_name)
-crop_label=string.format("%s-crop",script_name)
+script_name = mp.get_script_name()
+cropdetect_label = string.format("%s-cropdetect", script_name)
+crop_label = string.format("%s-crop", script_name)
-- number of seconds to gather cropdetect data
detect_seconds = tonumber(mp.get_opt(string.format("%s.detect_seconds", script_name)))
@@ -110,4 +110,4 @@ function do_crop()
timer=nil
end
-mp.add_key_binding("C","auto_crop",autocrop_start)
+mp.add_key_binding("C", "auto_crop", autocrop_start)