From 15baf2789cd5c5e0413616df22f235478f40e65e Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 16 Sep 2016 14:24:31 +0200 Subject: 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. --- player/client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/client.c') diff --git a/player/client.c b/player/client.c index 807fab5df6..44732ed04f 100644 --- a/player/client.c +++ b/player/client.c @@ -321,6 +321,8 @@ void mpv_suspend(mpv_handle *ctx) { bool do_suspend = false; + MP_WARN(ctx, "warning: mpv_suspend() is deprecated.\n"); + pthread_mutex_lock(&ctx->lock); if (ctx->suspend_count == INT_MAX) { MP_ERR(ctx, "suspend counter overflow"); -- cgit v1.2.3