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. --- DOCS/man/ipc.rst | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'DOCS/man/ipc.rst') diff --git a/DOCS/man/ipc.rst b/DOCS/man/ipc.rst index 732056ee01..03be027a20 100644 --- a/DOCS/man/ipc.rst +++ b/DOCS/man/ipc.rst @@ -241,20 +241,6 @@ extra commands can also be used as part of the protocol: By default, most events are enabled, and there is not much use for this command. -``suspend`` - Deprecated, will be removed completely in 0.21.0. - - Suspend the mpv main loop. There is a long-winded explanation of this in - the C API function ``mpv_suspend()``. In short, this prevents the player - from displaying the next video frame, so that you don't get blocked when - trying to access the player. - -``resume`` - Deprecated, will be removed completely in 0.21.0. - - Undo one ``suspend`` call. ``suspend`` increments an internal counter, and - ``resume`` decrements it. When 0 is reached, the player is actually resumed. - ``get_version`` Returns the client API version the C API of the remote mpv instance provides. -- cgit v1.2.3