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