Skip to content
Snippets Groups Projects
Commit 64725758 authored by Seungha Yang's avatar Seungha Yang :sheep: Committed by GStreamer Marge Bot
Browse files

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: <!2532>
parent 64c4eb2d
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment