aboutsummaryrefslogtreecommitdiffhomepage
path: root/player/playloop.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-11-22 14:47:50 +0100
committerGravatar wm4 <wm4@nowhere>2016-11-22 15:54:44 +0100
commitf30c5d09f4478ca40ceabc90d57fea68965778df (patch)
tree13ee64c5b6554cb2c46d0998185f51f4a7c30a25 /player/playloop.c
parent745862131f2e03bfb7b8fae4499d84522f0cc1a2 (diff)
client API: turn mpv_suspend() and mpv_resume() into stubs
As threatened by the API changes document. This commit also removes or stubs equivalent calls in IPC and Lua scripting. The stubs are left to maintain ABI compatibility. The semantics of the API functions have been close enough to doing nothing that this probably won't even break existing API users. Probably.
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/player/playloop.c b/player/playloop.c
index f72994e8a9..9db9396f95 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -62,9 +62,6 @@ void mp_wait_events(struct MPContext *mpctx)
mp_dispatch_queue_process(mpctx->dispatch, mpctx->sleeptime);
- while (mpctx->suspend_count)
- mp_dispatch_queue_process(mpctx->dispatch, 100);
-
mpctx->in_dispatch = false;
mpctx->sleeptime = INFINITY;