summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-03-17 04:54:39 +0100
committerwm4 <wm4@nowhere>2017-03-17 04:54:39 +0100
commit38872463a044852e95670cd2e5eb3ceef438c877 (patch)
tree6da6483c613d26f012804330a7eb7b6b527b49ed /libmpv
parent923f9322a19d283382d36d83aa4fbe6bde00f12a (diff)
downloadmpv-38872463a044852e95670cd2e5eb3ceef438c877.tar.bz2
mpv-38872463a044852e95670cd2e5eb3ceef438c877.tar.xz
client API: clarify what stream_cb callbacks can do
See #4227.
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/stream_cb.h4
1 files changed, 3 insertions, 1 deletions
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
* ---------------