1dash_sources = [ 2 'gstdashdemux.c', 3 'gstmpdnode.c', 4 'gstmpdrootnode.c', 5 'gstmpdbaseurlnode.c', 6 'gstmpdutctimingnode.c', 7 'gstmpdmetricsnode.c', 8 'gstmpdmetricsrangenode.c', 9 'gstmpdsnode.c', 10 'gstmpdsegmenttimelinenode.c', 11 'gstmpdsegmenttemplatenode.c', 12 'gstmpdsegmenturlnode.c', 13 'gstmpdsegmentlistnode.c', 14 'gstmpdsegmentbasenode.c', 15 'gstmpdperiodnode.c', 16 'gstmpdrepresentationbasenode.c', 17 'gstmpdmultsegmentbasenode.c', 18 'gstmpdrepresentationnode.c', 19 'gstmpdsubrepresentationnode.c', 20 'gstmpdcontentcomponentnode.c', 21 'gstmpdadaptationsetnode.c', 22 'gstmpdsubsetnode.c', 23 'gstmpdprograminformationnode.c', 24 'gstmpdlocationnode.c', 25 'gstmpdreportingnode.c', 26 'gstmpdurltypenode.c', 27 'gstmpddescriptortypenode.c', 28 'gstxmlhelper.c', 29 'gstmpdhelper.c', 30 'gstmpdparser.c', 31 'gstmpdclient.c', 32 'gstplugin.c', 33 'gstdashsink.c', 34] 35 36xml2_dep = dependency('libxml-2.0', 37 version : '>= 2.8', 38 fallback : ['libxml2', 'xml2lib_dep'], 39 required : get_option('dash') 40) 41 42if xml2_dep.found() 43 gstdashdemux = library('gstdash', 44 dash_sources, 45 c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'], 46 link_args : noseh_link_args, 47 include_directories : [configinc, libsinc], 48 dependencies : [gstadaptivedemux_dep, gsturidownloader_dep, gsttag_dep, 49 gstnet_dep, gstpbutils_dep, gstbase_dep, gstisoff_dep, 50 gio_dep, xml2_dep], 51 install : true, 52 install_dir : plugins_install_dir, 53 ) 54 pkgconfig.generate(gstdashdemux, install_dir : plugins_pkgconfig_install_dir) 55 plugins += [gstdashdemux] 56endif 57