diff options
author | wm4 <wm4@nowhere> | 2016-11-22 14:47:50 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-22 15:54:44 +0100 |
commit | f30c5d09f4478ca40ceabc90d57fea68965778df (patch) | |
tree | 13ee64c5b6554cb2c46d0998185f51f4a7c30a25 /libmpv | |
parent | 745862131f2e03bfb7b8fae4499d84522f0cc1a2 (diff) | |
download | mpv-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 'libmpv')
-rw-r--r-- | libmpv/client.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmpv/client.h b/libmpv/client.h index 28f86051a6..51f5c24d59 100644 --- a/libmpv/client.h +++ b/libmpv/client.h @@ -211,7 +211,7 @@ extern "C" { * relational operators (<, >, <=, >=). */ #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL) -#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 23) +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 24) /** * Return the MPV_CLIENT_API_VERSION the mpv source has been compiled with. @@ -506,6 +506,9 @@ mpv_handle *mpv_create_client(mpv_handle *ctx, const char *name); int mpv_load_config_file(mpv_handle *ctx, const char *filename); /** + * This does nothing since mpv 0.23.0 (API version 1.24). Below is the + * description of the old behavior. + * * Stop the playback thread. This means the core will stop doing anything, and * only run and answer to client API requests. This is sometimes useful; for * example, no new frame will be queued to the video output, so doing requests |