From 64725758eb3ba25f95e4fe9f105e6b8842c54b83 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sat, 18 Sep 2021 18:07:43 +0900 Subject: meson: va: Make AV1 support always optional Otherwise meson configure with -Dva=enabled will be failed when installed libva version is < 1.8 Part-of: --- sys/va/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/va/meson.build b/sys/va/meson.build index a86a90681..e7b39b536 100644 --- a/sys/va/meson.build +++ b/sys/va/meson.build @@ -33,8 +33,9 @@ if not gstva_dep.found() subdir_done() endif +# Keep av1 support optional as long as required libva version in gst-libs/va is < 1.8 libva_av1_req = ['>= 1.8'] -libva_av1_dep = dependency('libva', version: libva_av1_req, required: va_option) +libva_av1_dep = dependency('libva', version: libva_av1_req, required: false) if libva_av1_dep.found() va_sources += 'gstvaav1dec.c' endif -- cgit v1.2.1