client API: clarify what stream_cb callbacks can do

See #4227.
This commit is contained in:
wm4 2017-03-17 04:54:39 +01:00
parent 923f9322a1
commit 38872463a0
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@ extern "C" {
* stream callbacks.
*
* Note that your custom callbacks must not invoke libmpv APIs as that would
* cause a deadlock.
* cause a deadlock. (Unless you call a different mpv_handle than the one the
* callback was registered for, and the mpv_handles refer to different mpv
* instances.)
*
* Stream lifetime
* ---------------