Revert "DOCS/man/input: document that shutdown is sent when scripts terminate"

This reverts commit 86383aef95.

shutdown isn't actually sent on exit() but only with internal options,
e.g. set osc no, which isn't relevant for users.
This commit is contained in:
Guido Cella authored and Dudemanguy committed 2025-02-01 16:11:18 +00:00
1 parent 86383aef95
commit 6fb3ac1bc7
2 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -1754,8 +1754,8 @@ This list uses the event name field value, and the C API symbol in brackets:
Start of playback after seek or after file was loaded.
``shutdown`` (``MPV_EVENT_SHUTDOWN``)
Sent when the player quits or when a script terminates. Normally handled
automatically. See `Details on the script initialization and lifecycle`_.
Sent when the player quits, and the script should terminate. Normally
handled automatically. See `Details on the script initialization and lifecycle`_.
``log-message`` (``MPV_EVENT_LOG_MESSAGE``)
Receives messages enabled with ``mpv_request_log_messages()`` (Lua:
+3
View File
@@ -404,3 +404,6 @@ non-negligible duration to complete, so we re-calculate ``wait`` afterwards.
``mp.peek_timers_wait()`` returns the same values as ``mp.process_timers()``
but without doing anything. Invalid result if called from a timer callback.
Note: ``exit()`` is also registered for the ``shutdown`` event, and its
implementation is a simple ``mp.keep_running = false``.