mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 14:52:43 +00:00
manpage: move description of script shutdown to a separate paragraph
No other changes, just adding a paragraph break and reflowing the text.
This commit is contained in:
parent
d473933923
commit
c776ac33e3
@ -22,10 +22,12 @@ first run "as is", and once that is done, the event loop is entered. This
|
||||
event loop will dispatch events received by mpv and call your own event
|
||||
handlers which you have registered with ``mp.register_event``, or timers
|
||||
added with ``mp.add_timeout`` or similar. When the player quits, all scripts
|
||||
will be asked to terminate. This happens via a ``shutdown`` event, which by
|
||||
default will make the event loop return. If your script got into an endless
|
||||
loop, mpv will probably behave fine during playback, but it won't terminate
|
||||
when quitting because it's waiting on your script.
|
||||
will be asked to terminate.
|
||||
|
||||
This happens via a ``shutdown`` event, which by default will make the event
|
||||
loop return. If your script got into an endless loop, mpv will probably behave
|
||||
fine during playback, but it won't terminate when quitting because it's waiting
|
||||
on your script.
|
||||
|
||||
Internally, the C code will call the Lua function ``mp_event_loop`` after
|
||||
loading a Lua script. This function is normally defined by the default prelude
|
||||
|
Loading…
Reference in New Issue
Block a user