mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:22:01 +00:00
build: bump required libva version
0.34 and 0.35 don't have the buffer API, such as vaAcquireBufferHandle. This is only needed for the EGL interop, but why bother staying compatible for such old things (0.36 was released over a year ago). We also can drop some minor compatibility ifdeffery.
This commit is contained in:
parent
76bfd5b4a2
commit
7e7ef2f01d
@ -26,12 +26,6 @@
|
||||
#ifndef VA_FOURCC_I420
|
||||
#define VA_FOURCC_I420 VA_FOURCC('I', '4', '2', '0')
|
||||
#endif
|
||||
#ifndef VA_FOURCC_RGBX
|
||||
#define VA_FOURCC_RGBX 0x58424752
|
||||
#endif
|
||||
#ifndef VA_FOURCC_BGRX
|
||||
#define VA_FOURCC_BGRX 0x58524742
|
||||
#endif
|
||||
|
||||
#define VA_STR_FOURCC(fcc) \
|
||||
(const char[]){(fcc), (fcc) >> 8u, (fcc) >> 16u, (fcc) >> 24u, 0}
|
||||
|
8
wscript
8
wscript
@ -647,22 +647,22 @@ video_output_features = [
|
||||
'desc': 'VAAPI acceleration',
|
||||
'deps': [ 'libdl' ],
|
||||
'deps_any': [ 'x11', 'wayland' ],
|
||||
'func': check_pkg_config('libva', '>= 0.34.0'),
|
||||
'func': check_pkg_config('libva', '>= 0.36.0'),
|
||||
}, {
|
||||
'name': '--vaapi-x11',
|
||||
'desc': 'VAAPI (X11 support)',
|
||||
'deps': [ 'vaapi', 'x11' ],
|
||||
'func': check_pkg_config('libva-x11', '>= 0.34.0'),
|
||||
'func': check_pkg_config('libva-x11', '>= 0.36.0'),
|
||||
}, {
|
||||
'name': '--vaapi-wayland',
|
||||
'desc': 'VAAPI (Wayland support)',
|
||||
'deps': [ 'vaapi', 'wayland' ],
|
||||
'func': check_pkg_config('libva-wayland', '>= 0.34.0'),
|
||||
'func': check_pkg_config('libva-wayland', '>= 0.36.0'),
|
||||
}, {
|
||||
'name': '--vaapi-vpp',
|
||||
'desc': 'VAAPI VPP',
|
||||
'deps': [ 'vaapi' ],
|
||||
'func': check_pkg_config('libva', '>= 0.34.0'),
|
||||
'func': check_pkg_config('libva', '>= 0.36.0'),
|
||||
}, {
|
||||
'name': '--vaapi-glx',
|
||||
'desc': 'VAAPI GLX',
|
||||
|
Loading…
Reference in New Issue
Block a user