diff options
author | Dudemanguy <random342@airmail.cc> | 2022-10-29 13:07:34 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-10-29 20:41:20 +0000 |
commit | f5944824513f3081ac01484c85960324bdaabda1 (patch) | |
tree | 56f75868bc5eb2b0c0b546093ef2cf7d21a7ef10 /sub/ass_mp.c | |
parent | a9e1905a4a2ee9d925c48cb382132dbc10820233 (diff) | |
download | mpv-f5944824513f3081ac01484c85960324bdaabda1.tar.bz2 mpv-f5944824513f3081ac01484c85960324bdaabda1.tar.xz |
build: add an additional check for wayland-protocols 1.24
666cb91cf12a4f8b42087530104513b0fc4ba16d added support for v4 of the
dmabuf protocol. This was meant to be optional and the fallback support
for the old v2 (dates back to 2017[0] well before the 1.15
wayland-protocol version we depend on) was maintained. However, v4 added
several new functions and structs that of course aren't defined in old
protocol versions so naturally this breaks the build on those systems.
Since this is just a niche feature and not really critical to overall
wayland support in mpv, just give in and add another check in the build
system and #if out the newer stuff in wayland_common. v4 of linux-dmabuf
depends on wayland protocols 1-24[1], so go ahead and make that our new
check. Fixes #10807.
[0]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/commit/a840b3634ad637b237f238d2efb9ab8f4712d5f4
[1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/commit/8a5cd28a0e84911a5339855cb32ed63fb57ea40a
Diffstat (limited to 'sub/ass_mp.c')
0 files changed, 0 insertions, 0 deletions