SA: Remove extra check since libva min version is 1.12

The libva version was updated to 1.12 in PR 4781 [1]
[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4781

NOTE: I also sort va_sources
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5978>
This commit is contained in:
Ruben Gonzalez 2024-01-24 17:58:29 +01:00 committed by GStreamer Marge Bot
parent 9a5ca61f87
commit 5e3fafd025

View file

@ -1,10 +1,11 @@
va_sources = [
'plugin.c',
'gstjpegdecoder.c',
'gstvaav1dec.c',
'gstvabase.c',
'gstvabasedec.c',
'gstvabasetransform.c',
'gstvabaseenc.c',
'gstvabasetransform.c',
'gstvacaps.c',
'gstvacompositor.c',
'gstvadecoder.c',
@ -70,10 +71,6 @@ if cc.get_id() == 'msvc'
c_std_arg = ['c_std=c11']
endif
if libva_dep.version().version_compare('>= 1.8')
va_sources += 'gstvaav1dec.c'
endif
gstva = library('gstva',
va_sources,
c_args : gst_plugins_bad_args + extra_args,