summaryrefslogtreecommitdiffstats
path: root/TOOLS/lua/autocrop.lua
Commit message (Collapse)AuthorAgeFilesLines
* TOOLS/autocrop.lua: fix cropdetect black limit for 10-bit videosRicardo Constantino2017-08-171-3/+4
| | | | | Also update to use newer lavfi-bridges for the relevant filters to shut up warnings about deprecated crop filter.
* options: deprecate 'lua' based options/dirs for 'script'Avi Halachmi (:avih)2014-12-151-1/+1
| | | | | | | | | | | | - --lua and --lua-opts change to --script and --script-opts - 'lua' default script dirs change to 'scripts' - DOCS updated - 'lua-settings' dir was _not_ modified The old lua-based names/dirs still work, but display a warning. Signed-off-by: wm4 <wm4@nowhere>
* TOOLS/lua: remove tabs from some lua scriptsKevin Mitchell2014-10-211-18/+18
|
* TOOLS/lua: conform to whitespace coding-styleKevin Mitchell2014-05-061-4/+4
|
* TOOLS/lua: use double quotes unless there's a good reasonKevin Mitchell2014-05-041-13/+13
|
* TOOLS/lua/autocrop: handle case of user hitting hotkey while cropdetection ↵Kevin Mitchell2014-05-041-3/+11
| | | | already running
* TOOLS/lua: no longer gsub out "lua/" prefix, now that its no longer thereKevin Mitchell2014-05-041-1/+1
|
* TOOLS: better documentation of lua scriptsKevin Mitchell2014-04-291-0/+28
|
* TOOLS: improve autocrop.luaKevin Mitchell2014-04-291-9/+75
| | | | | | | | | | It now inserts no filters and does nothing until the hot-key is pressed. This makes it more suitable to be put in ~/.mpv/lua. When the hot-key is pressed, it now inserts the cropdetect filter and waits 1 second (or a --lua-opts specified duration) before gathering the cropdetect metadata and inserting the appropriate crop filter. A second press of the hotkey removes the crop.
* TOOLS: indent lua scripts by 4 spaces instead of 3Kevin Mitchell2014-04-271-6/+6
|
* TOOLS: move autocrop.lua to TOOLS/luaKevin Mitchell2014-04-271-0/+11
in anticipation of more lua scripts