summaryrefslogtreecommitdiffstats
path: root/player/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua.c')
-rw-r--r--player/lua.c2
1 files changed, 2 insertions, 0 deletions
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;
}