From a9dccf22a18da2a16a1ec76f5ae5ea742907bab1 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Tue, 25 Mar 2025 18:50:12 -0500 Subject: [PATCH] build: use a drm_fourcc header check for vaapi on gl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The underlying interop only needs the DRM fourcc defined in the header. Co-authored-by: Kacper Michajłow --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 3eb752ee41..4cd41d0de3 100644 --- a/meson.build +++ b/meson.build @@ -1455,8 +1455,9 @@ if features['vaapi'] 'video/out/hwdec/dmabuf_interop_pl.c') endif -features += {'dmabuf-interop-gl': features['egl'] and features['drm']} +features += {'dmabuf-interop-gl': features['egl'] and drm.found()} if features['dmabuf-interop-gl'] + dependencies += drm.partial_dependency(includes: true, compile_args: true) sources += files('video/out/hwdec/dmabuf_interop_gl.c') endif