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, libm],
  install : true,
  install_dir : plugins_install_dir,
)
pkgconfig.generate(gstmpegtsdemux, install_dir : plugins_pkgconfig_install_dir)
