summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-16 14:24:31 +0200
committerwm4 <wm4@nowhere>2016-09-16 14:39:47 +0200
commit15baf2789cd5c5e0413616df22f235478f40e65e (patch)
treec0a4709012a17dfad96f7e965e53aeb15a931adb /libmpv
parent03fec24e192ea1b5c0cf957a5a64c0db9d33e67a (diff)
downloadmpv-15baf2789cd5c5e0413616df22f235478f40e65e.tar.bz2
mpv-15baf2789cd5c5e0413616df22f235478f40e65e.tar.xz
client API: declare mpv_suspend/mpv_resume deprecated
They're useless, and I have no idea what they're actually supposed to do (wrt. pending input processing changes). Also remove their implicit uses from the IPC handlers.
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 74b5d66ed8..6f50fd881c 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -515,6 +515,11 @@ int mpv_load_config_file(mpv_handle *ctx, const char *filename);
* mpv_suspend() is not allowed.
*
* Calling this on an uninitialized player (see mpv_create()) will deadlock.
+ *
+ * @deprecated This function, as well as mpv_resume(), are deprecated, and
+ * will stop doing anything soon. Their semantics were never
+ * well-defined, and their usefulness is extremely limited. The
+ * calls will remain stubs in order to keep ABI compatibility.
*/
void mpv_suspend(mpv_handle *ctx);