mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
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.)
This commit is contained in:
parent
7ca4a453e0
commit
3a21d71ad0
@ -32,6 +32,8 @@ API changes
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
--- mpv 0.18.2
|
||||||
|
1.22 - add stream_cb API for custom protocols
|
||||||
--- mpv 0.18.1 ---
|
--- mpv 0.18.1 ---
|
||||||
---- - remove "status" log level from mpv_request_log_messages() docs. This
|
---- - remove "status" log level from mpv_request_log_messages() docs. This
|
||||||
is 100% equivalent to "v". The behavior is still the same, thus no
|
is 100% equivalent to "v". The behavior is still the same, thus no
|
||||||
|
@ -215,7 +215,7 @@ extern "C" {
|
|||||||
* relational operators (<, >, <=, >=).
|
* relational operators (<, >, <=, >=).
|
||||||
*/
|
*/
|
||||||
#define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
|
#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.
|
* 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).
|
* Will return NULL if unavailable (if OpenGL support was not compiled in).
|
||||||
* See opengl_cb.h for details.
|
* See opengl_cb.h for details.
|
||||||
*/
|
*/
|
||||||
MPV_SUB_API_OPENGL_CB = 1,
|
MPV_SUB_API_OPENGL_CB = 1
|
||||||
} mpv_sub_api;
|
} mpv_sub_api;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user