From f30c5d09f4478ca40ceabc90d57fea68965778df Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 22 Nov 2016 14:47:50 +0100 Subject: 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. --- player/playloop.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'player/playloop.c') 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; -- cgit v1.2.3