diff options
author | wm4 <wm4@nowhere> | 2015-02-04 18:25:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-04 23:04:01 +0100 |
commit | e163284b6802fe6375536f48cea281062294eaa2 (patch) | |
tree | b5eceebaaed9e6498a77a8e63ac738c239a08f8b /DOCS/man | |
parent | 5bce4664beaddbcc256d333816ad6cdddf16a83d (diff) | |
download | mpv-e163284b6802fe6375536f48cea281062294eaa2.tar.bz2 mpv-e163284b6802fe6375536f48cea281062294eaa2.tar.xz |
command: add on_unload hook
Fixes #1552.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/lua.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index 1cf6e99576..347292cd7b 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -755,3 +755,7 @@ guarantee a stable interface. you could set per-file options with by setting the property ``file-local-options/<option name>``. The player will wait until all hooks are run. + + ``on_unload`` + Run before closing a file, and before actually uninitializing + everything. It's not possible to resume playback in this state. |