mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
50473d77cc
The headers passed as parametter are relative to the build dir basically "../subproject/gst-plugins-bad/gst-libs/gst/mpegts/XXX.h" but that does not match what is needed at build time when building as subproject, also we always add current dir as include_dir so we are safe including directly. And link mpegtsdemux against the 'math' library as it is needed.
18 lines
483 B
Meson
18 lines
483 B
Meson
tsdemux_sources = [
|
|
'mpegtspacketizer.c',
|
|
'mpegtsbase.c',
|
|
'mpegtsparse.c',
|
|
'tsdemux.c',
|
|
'gsttsdemux.c',
|
|
'pesparse.c',
|
|
]
|
|
|
|
gstmpegtsdemux = library('gstmpegtsdemux',
|
|
tsdemux_sources,
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gstcodecparsers_dep, gstmpegts_dep, gsttag_dep,
|
|
gstpbutils_dep, gstaudio_dep, gstbase_dep, mathlib],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|