mirror of https://github.com/mpv-player/mpv
d5a02dd934
The callback now gets an object argument with defer/cont functions. Like the lua code, the behavior is that each hook event allows at most one continue, but nothing enforces the order of continuations if more hook events arrive before prior ones were continued - which is possible now with the defer option, but wasn't possible before (continuation was synchronous from the hook event handler). |
||
---|---|---|
.. | ||
defaults.js |