From 38872463a044852e95670cd2e5eb3ceef438c877 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 17 Mar 2017 04:54:39 +0100 Subject: client API: clarify what stream_cb callbacks can do See #4227. --- libmpv/stream_cb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libmpv') diff --git a/libmpv/stream_cb.h b/libmpv/stream_cb.h index ec48a3c511..1f1bf2333c 100644 --- a/libmpv/stream_cb.h +++ b/libmpv/stream_cb.h @@ -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 * --------------- -- cgit v1.2.3