mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-29 15:22:17 +00:00
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>
This commit is contained in:
parent
64c4eb2def
commit
64725758eb
1 changed files with 2 additions and 1 deletions
|
@ -33,8 +33,9 @@ if not gstva_dep.found()
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
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_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()
|
if libva_av1_dep.found()
|
||||||
va_sources += 'gstvaav1dec.c'
|
va_sources += 'gstvaav1dec.c'
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue