mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
meson: va: Define GST_USE_UNSTABLE_API
Remove extra_c_args which is not defined in this meson file at all, and define GST_USE_UNSTABLE_API to avoid build warnings Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1999>
This commit is contained in:
parent
206021e4d4
commit
0c6125bad6
1 changed files with 6 additions and 2 deletions
|
@ -44,11 +44,15 @@ driverdir = libva_dep.get_variable('driverdir', default_value: '')
|
|||
if driverdir == ''
|
||||
driverdir = join_paths(get_option('prefix'), get_option('libdir'), 'dri')
|
||||
endif
|
||||
gstva_cargs = ['-DLIBVA_DRIVERS_PATH="' + driverdir + '"']
|
||||
gstva_cargs = [
|
||||
'-DLIBVA_DRIVERS_PATH="' + driverdir + '"',
|
||||
'-std=c99',
|
||||
'-DGST_USE_UNSTABLE_API',
|
||||
]
|
||||
|
||||
gstva = library('gstva',
|
||||
va_sources,
|
||||
c_args : gst_plugins_bad_args + extra_c_args + gstva_cargs + ['-std=c99'],
|
||||
c_args : gst_plugins_bad_args + gstva_cargs,
|
||||
include_directories : [configinc],
|
||||
dependencies : [gstvideo_dep, gstcodecs_dep, gstallocators_dep, gstva_dep, libgudev_dep] + extra_dep,
|
||||
install : true,
|
||||
|
|
Loading…
Reference in a new issue