summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-07 19:40:17 +0200
committerwm4 <wm4@nowhere>2016-08-07 19:42:20 +0200
commit3a21d71ad02717896e8e84ebe9f5ecb33754ed88 (patch)
tree511797c65e5b76269b043370cd8f2add6107b51f /libmpv
parent7ca4a453e03d76621c7740b71ba17157c7756737 (diff)
downloadmpv-3a21d71ad02717896e8e84ebe9f5ecb33754ed88.tar.bz2
mpv-3a21d71ad02717896e8e84ebe9f5ecb33754ed88.tar.xz
client API: bump API for stream_cb
Forgotten in previous commit. Also minor semi-related change: remove the extra "," from the mpv_sub_api enum, which I accidentally added in the previous commit. (C99 is fine with trailing ",", C89 strictly speaking not. So do this for maximum compatibility.)
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 57eeaf0af8..fb4b29bf7e 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -215,7 +215,7 @@ extern "C" {
* relational operators (<, >, <=, >=).
*/
#define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 21)
+#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 22)
/**
* Return the MPV_CLIENT_API_VERSION the mpv source has been compiled with.
@@ -1610,7 +1610,7 @@ typedef enum mpv_sub_api {
* Will return NULL if unavailable (if OpenGL support was not compiled in).
* See opengl_cb.h for details.
*/
- MPV_SUB_API_OPENGL_CB = 1,
+ MPV_SUB_API_OPENGL_CB = 1
} mpv_sub_api;
/**