summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-06 21:23:28 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:34 +0200
commitc349e2f337693c53687b0bd5e4d8669363e2d79d (patch)
tree0a899ccac339c9a4d791d1cb0bfe5cd1ee4c7761 /DOCS
parentb440f6dfb3d29651d8dcb7abfeb8ed18e3f2b995 (diff)
downloadmpv-c349e2f337693c53687b0bd5e4d8669363e2d79d.tar.bz2
mpv-c349e2f337693c53687b0bd5e4d8669363e2d79d.tar.xz
command: make sub-add and audio-add commands async
Pretty trivial, since commands can be async now, and the common code even provides convenience like running commands on a worker thread. The only ugly thing is that mp_add_external_file() needs an extra flag for locking. This is because there's still some code which calls this synchronously from the main thread, and unlocking the core makes no sense there.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 6706fc3198..205c732781 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -909,6 +909,9 @@ The only exception is the current legacy behavior with screenshot commands,
which will be fixed later. Using the ``async`` prefix makes them run the file
saving code in a detached manner.
+Currently the following commands have different waiting characteristics with
+sync vs. async: sub-add, audio-add
+
Input Sections
--------------