summaryrefslogtreecommitdiffstats
path: root/TOOLS/mpv_identify.sh
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-04-29 04:07:25 -0700
committerKevin Mitchell <kevmitch@gmail.com>2014-04-29 08:31:44 -0700
commit4b0a760d86381587eff3552c440fbe1bfbac03e5 (patch)
treef628200eea25e2e36fdac89c2e498b080c282a81 /TOOLS/mpv_identify.sh
parent479dab57186d60a69e18f96af9e4b2edaa565dcc (diff)
downloadmpv-4b0a760d86381587eff3552c440fbe1bfbac03e5.tar.bz2
mpv-4b0a760d86381587eff3552c440fbe1bfbac03e5.tar.xz
TOOLS: improve autocrop.lua
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.
Diffstat (limited to 'TOOLS/mpv_identify.sh')
0 files changed, 0 insertions, 0 deletions