summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-11-22 14:47:50 +0100
committerwm4 <wm4@nowhere>2016-11-22 15:54:44 +0100
commitf30c5d09f4478ca40ceabc90d57fea68965778df (patch)
tree13ee64c5b6554cb2c46d0998185f51f4a7c30a25 /player/core.h
parent745862131f2e03bfb7b8fae4499d84522f0cc1a2 (diff)
downloadmpv-f30c5d09f4478ca40ceabc90d57fea68965778df.tar.bz2
mpv-f30c5d09f4478ca40ceabc90d57fea68965778df.tar.xz
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/core.h')
-rw-r--r--player/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index b33d367cec..9a71ce33de 100644
--- a/player/core.h
+++ b/player/core.h
@@ -226,7 +226,6 @@ enum playback_status {
typedef struct MPContext {
bool initialized;
bool autodetach;
- int suspend_count;
struct mpv_global *global;
struct MPOpts *opts;
struct mp_log *log;