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. --- input/ipc.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'input/ipc.c') diff --git a/input/ipc.c b/input/ipc.c index c7563e30d8..f15f24d229 100644 --- a/input/ipc.c +++ b/input/ipc.c @@ -384,12 +384,6 @@ static char *json_execute_command(struct mpv_handle *client, void *ta_parent, rc = mpv_request_log_messages(client, cmd_node->u.list->values[1].u.string); - } else if (!strcmp("suspend", cmd)) { - mpv_suspend(client); - rc = MPV_ERROR_SUCCESS; - } else if (!strcmp("resume", cmd)) { - mpv_resume(client); - rc = MPV_ERROR_SUCCESS; } else if (!strcmp("enable_event", cmd) || !strcmp("disable_event", cmd)) { -- cgit v1.2.3