diff options
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 5 | ||||
-rw-r--r-- | DOCS/man/input.rst | 4 | ||||
-rw-r--r-- | DOCS/man/lua.rst | 5 |
3 files changed, 12 insertions, 2 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 576a472cd0..a39043dc9b 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -88,6 +88,11 @@ Interface changes - deprecate the old command based hook API, and introduce a proper C API (the high level Lua API for this does not change) - rename the the lua-settings/ config directory to script-opts/ + - the way the player waits for scripts getting loaded changes slightly. Now + scripts are loaded in parallel, and block the player from continuing + playback only in the player initialization phase. It could change again in + the future. (This kind of waiting was always a feature to prevent that + playback is started while scripts are only half-loaded.) --- mpv 0.28.0 --- - rename --hwdec=mediacodec option to mediacodec-copy, to reflect conventions followed by other hardware video decoding APIs diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 7efc700550..4a59a919f0 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -730,7 +730,9 @@ Input Commands that are Possibly Subject to Change merely sets all option values listed within the profile. ``load-script "<path>"`` - Load a script, similar to the ``--script`` option. + Load a script, similar to the ``--script`` option. Whether this waits for + the script to finish initialization or not changed multiple times, and the + future behavior is left undefined. ``change-list "<option>" "<operation>" "<value>"`` This command changes list options as described in `List Options`_. The diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index f943f3421d..c0c4f9b00a 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -63,7 +63,10 @@ the player will more or less hang until the script returns from the main chunk (and ``mp_event_loop`` is called), or the script calls ``mp_event_loop`` or ``mp.dispatch_events`` directly. This is done to make it possible for a script to fully setup event handlers etc. before playback actually starts. In older -mpv versions, this happened asynchronously. +mpv versions, this happened asynchronously. With mpv 0.29.0, this changes +slightly, and it merely waits for scripts to be loaded in this manner before +starting playback as part of the player initialization phase. Scripts run though +initialization in parallel. This might change again. mp functions ------------ |