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>
(cherry picked from commit 74f6392545)
This commit is contained in:
Boyuan Zhang 2024-02-28 13:52:35 -05:00 committed by Eric Engestrom
parent dba05ca558
commit d2b3fb381b
2 changed files with 2 additions and 2 deletions

View file

@ -4054,7 +4054,7 @@
"description": "meson: bump the minimal required vdpau version to 1.4", "description": "meson: bump the minimal required vdpau version to 1.4",
"nominated": true, "nominated": true,
"nomination_type": 0, "nomination_type": 0,
"resolution": 0, "resolution": 1,
"main_sha": null, "main_sha": null,
"because_sha": "c3ceec6cd8533a5a5f3ccaf687308dee2f097a99", "because_sha": "c3ceec6cd8533a5a5f3ccaf687308dee2f097a99",
"notes": null "notes": null

View file

@ -603,7 +603,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'