From c349e2f337693c53687b0bd5e4d8669363e2d79d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 6 May 2018 21:23:28 +0200 Subject: 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. --- DOCS/man/input.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'DOCS') 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 -------------- -- cgit v1.2.3