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/lua.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/lua.c') diff --git a/player/lua.c b/player/lua.c index b805a34ca8..964ba7c07a 100644 --- a/player/lua.c +++ b/player/lua.c @@ -450,6 +450,8 @@ static int script_find_config_file(lua_State *L) static int script_suspend(lua_State *L) { struct script_ctx *ctx = get_ctx(L); + MP_WARN(ctx, "mp.suspend() (possibly triggered by mp.use_suspend) is " + "deprecated.\n"); mpv_suspend(ctx->client); return 0; } -- cgit v1.2.3