mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
meson: va: Remove va option check from gst-libs
Building libgstva-1.0 unconditionally for the va implementation can be used by non-va plugins such as MSDK even when va plugin is disabled Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1685>
This commit is contained in:
parent
5a2e1ecb4d
commit
58d594df44
1 changed files with 3 additions and 4 deletions
|
@ -17,15 +17,14 @@ va_headers = [
|
|||
|
||||
gstva_dep = dependency('', required : false)
|
||||
|
||||
va_option = get_option('va')
|
||||
if va_option.disabled() or host_system != 'linux'
|
||||
if host_system != 'linux'
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
libva_req = ['>= 1.6']
|
||||
libva_dep = dependency('libva', version: libva_req, required: va_option,
|
||||
libva_dep = dependency('libva', version: libva_req, required: false,
|
||||
fallback: ['libva', 'libva_dep'])
|
||||
libva_drm_dep = dependency('libva-drm', version: libva_req, required: va_option,
|
||||
libva_drm_dep = dependency('libva-drm', version: libva_req, required: false,
|
||||
fallback: ['libva', 'libva_drm_dep'])
|
||||
|
||||
if not (libva_dep.found() and libva_drm_dep.found())
|
||||
|
|
Loading…
Reference in a new issue