diff options
author | Aman Gupta <aman@tmm1.net> | 2019-09-26 16:11:48 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2019-09-27 13:00:45 -0700 |
commit | c7d0a8f58e536b22db88a229dc2f53daf0f02951 (patch) | |
tree | 4518a47c07041c33943d8ffe48f470cd8826936b /libmpv/client.h | |
parent | 4fdd0940ed2228665d5c6d99f4c024dcfa9bc4ad (diff) | |
download | mpv-c7d0a8f58e536b22db88a229dc2f53daf0f02951.tar.bz2 mpv-c7d0a8f58e536b22db88a229dc2f53daf0f02951.tar.xz |
stream_cb: add cancel_fn callback
This allows stream_cb backends to implement blocking
behavior inside read_fn, and still get notified when the user
wants to cancel and stop playback.
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libmpv/client.h')
-rw-r--r-- | libmpv/client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpv/client.h b/libmpv/client.h index 670f45c626..8ee7d87f17 100644 --- a/libmpv/client.h +++ b/libmpv/client.h @@ -223,7 +223,7 @@ extern "C" { * relational operators (<, >, <=, >=). */ #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL) -#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 105) +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 106) /** * The API user is allowed to "#define MPV_ENABLE_DEPRECATED 0" before |