summaryrefslogtreecommitdiffstats
path: root/TOOLS/lua/autocrop.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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