summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-09-18 18:07:43 +0900
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-09-19 21:20:54 +0000
commit64725758eb3ba25f95e4fe9f105e6b8842c54b83 (patch)
tree8c7dd3d02a28db2c6fa2883fcf8c8984d48d1003
parent64c4eb2def3dc9081d4674625842998b7b464527 (diff)
downloadgstreamer-plugins-bad-64725758eb3ba25f95e4fe9f105e6b8842c54b83.tar.gz
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2532>
-rw-r--r--sys/va/meson.build3
1 files changed, 2 insertions, 1 deletions
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