2016-08-12 15:51:45 +00:00
|
|
|
dash_sources = [
|
|
|
|
'gstdashdemux.c',
|
|
|
|
'gstmpdparser.c',
|
|
|
|
'gstplugin.c',
|
|
|
|
]
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
xml2_dep = dependency('libxml-2.0', version : '>= 2.8', required : get_option('dash'))
|
2016-08-12 15:51:45 +00:00
|
|
|
if xml2_dep.found()
|
|
|
|
gstsouphttpsrc = library('gstdashdemux',
|
|
|
|
dash_sources,
|
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
dependencies : [gstadaptivedemux_dep, gsturidownloader_dep, gsttag_dep,
|
2017-05-25 09:14:09 +00:00
|
|
|
gstnet_dep, gstbase_dep, gstisoff_dep, gio_dep, xml2_dep],
|
2016-08-12 15:51:45 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstsouphttpsrc, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstsouphttpsrc]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|