meson: bump the minimal required vdpau version to 1.4
VDP_YCBCR_FORMAT_P010 and VDP_YCBCR_FORMAT_P016 require ver 1.4 or above
Fixes: c3ceec6cd8 ("vdpau: Refactor query for video surface formats.")
Cc: mesa-stable
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27857>
This commit is contained in:
@@ -618,7 +618,7 @@ vdpau = get_option('gallium-vdpau') \
|
|||||||
.require(with_platform_x11, error_message : 'VDPAU state tracker requires X11 support.') \
|
.require(with_platform_x11, error_message : 'VDPAU state tracker requires X11 support.') \
|
||||||
.require(_vdpau_drivers.contains(true), error_message : 'VDPAU state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video, virgl).')
|
.require(_vdpau_drivers.contains(true), error_message : 'VDPAU state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video, virgl).')
|
||||||
|
|
||||||
dep_vdpau = dependency('vdpau', version : '>= 1.1', required : vdpau)
|
dep_vdpau = dependency('vdpau', version : '>= 1.4', required : vdpau)
|
||||||
if dep_vdpau.found()
|
if dep_vdpau.found()
|
||||||
dep_vdpau = dep_vdpau.partial_dependency(compile_args : true)
|
dep_vdpau = dep_vdpau.partial_dependency(compile_args : true)
|
||||||
pre_args += '-DHAVE_ST_VDPAU'
|
pre_args += '-DHAVE_ST_VDPAU'
|
||||||
|
|||||||
Reference in New Issue
Block a user