mirror of https://github.com/mpv-player/mpv
hwdec_vulkan: check for the correct libplacebo version
It's 6.278, rather than 5.278.
This commit is contained in:
parent
0d1b96c233
commit
0f37d72360
|
@ -1311,9 +1311,9 @@ endif
|
||||||
|
|
||||||
vulkan_interop = get_option('vulkan-interop').require(
|
vulkan_interop = get_option('vulkan-interop').require(
|
||||||
features['vulkan'] and vulkan.version().version_compare('>=1.3.238') and
|
features['vulkan'] and vulkan.version().version_compare('>=1.3.238') and
|
||||||
features['libplacebo'] and libplacebo.version().version_compare('>=5.278.0') and
|
features['libplacebo'] and libplacebo.version().version_compare('>=6.278.0') and
|
||||||
libavutil.version().version_compare('>=58.11.100'),
|
libavutil.version().version_compare('>=58.11.100'),
|
||||||
error_message: 'Vulkan Interop requires vulkan headers >= 1.3.238, libplacebo >= 5.278.0, and libavutil >= 58.11.100',
|
error_message: 'Vulkan Interop requires vulkan headers >= 1.3.238, libplacebo >= 6.278.0, and libavutil >= 58.11.100',
|
||||||
)
|
)
|
||||||
features += {'vulkan-interop': vulkan_interop.allowed()}
|
features += {'vulkan-interop': vulkan_interop.allowed()}
|
||||||
if vulkan_interop.allowed()
|
if vulkan_interop.allowed()
|
||||||
|
|
4
wscript
4
wscript
|
@ -799,9 +799,9 @@ video_output_features = [
|
||||||
use='libplacebo'),
|
use='libplacebo'),
|
||||||
}, {
|
}, {
|
||||||
'name': 'libplacebo-decode',
|
'name': 'libplacebo-decode',
|
||||||
'desc': 'libplacebo v5.275.0+, needed for Vulkan video decode',
|
'desc': 'libplacebo v6.278.0+, needed for Vulkan video decode',
|
||||||
'deps': 'libplacebo',
|
'deps': 'libplacebo',
|
||||||
'func': check_preprocessor('libplacebo/config.h', 'PL_API_VER >= 275',
|
'func': check_preprocessor('libplacebo/config.h', 'PL_API_VER >= 278',
|
||||||
use='libplacebo'),
|
use='libplacebo'),
|
||||||
}, {
|
}, {
|
||||||
'name': '--vulkan',
|
'name': '--vulkan',
|
||||||
|
|
Loading…
Reference in New Issue