2016-08-12 15:51:45 +00:00
|
|
|
dash_sources = [
|
|
|
|
'gstdashdemux.c',
|
2019-05-24 14:24:00 +00:00
|
|
|
'gstmpdrootnode.c',
|
|
|
|
'gstmpdbaseurlnode.c',
|
|
|
|
'gstmpdutctimingnode.c',
|
|
|
|
'gstmpdmetricsnode.c',
|
|
|
|
'gstmpdmetricsrangenode.c',
|
|
|
|
'gstmpdsnode.c',
|
|
|
|
'gstmpdsegmenttimelinenode.c',
|
|
|
|
'gstmpdsegmenttemplatenode.c',
|
|
|
|
'gstmpdsegmenturlnode.c',
|
|
|
|
'gstmpdsegmentlistnode.c',
|
|
|
|
'gstmpdperiodnode.c',
|
|
|
|
'gstmpdrepresentationnode.c',
|
|
|
|
'gstmpdsubrepresentationnode.c',
|
|
|
|
'gstmpdcontentcomponentnode.c',
|
|
|
|
'gstmpdadaptationsetnode.c',
|
|
|
|
'gstmpdsubsetnode.c',
|
|
|
|
'gstmpdprograminformationnode.c',
|
2019-05-20 16:48:23 +00:00
|
|
|
'gstxmlhelper.c',
|
|
|
|
'gstmpdhelper.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
'gstmpdparser.c',
|
2019-05-20 16:48:23 +00:00
|
|
|
'gstmpdclient.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
'gstplugin.c',
|
|
|
|
]
|
|
|
|
|
2019-07-24 18:37:40 +00:00
|
|
|
xml2_dep = dependency('libxml-2.0',
|
|
|
|
version : '>= 2.8',
|
|
|
|
fallback : ['libxml2', 'xml2lib_dep'],
|
|
|
|
required : get_option('dash')
|
|
|
|
)
|
|
|
|
|
2016-08-12 15:51:45 +00:00
|
|
|
if xml2_dep.found()
|
2019-11-18 20:54:42 +00:00
|
|
|
gstdashdemux = library('gstdashdemux',
|
2016-08-12 15:51:45 +00:00
|
|
|
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,
|
|
|
|
)
|
2019-11-18 20:54:42 +00:00
|
|
|
pkgconfig.generate(gstdashdemux, install_dir : plugins_pkgconfig_install_dir)
|
|
|
|
plugins += [gstdashdemux]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|