tsmux_sources = [
  'gstmpegtsmuxplugin.c',
  'gstbasetsmux.c',
  'gstbasetsmuxaac.c',
  'gstbasetsmuxopus.c',
  'gstbasetsmuxttxt.c',
  'gstbasetsmuxjpeg2000.c',
  'gstmpegtsmux.c',
  'gstatscmux.c',
  'tsmux/tsmux.c',
  'tsmux/tsmuxstream.c'
]

gstmpegtsmux = library('gstmpegtsmux',
  tsmux_sources,
  c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
  include_directories : [configinc, libsinc],
  dependencies : [gstmpegts_dep, gsttag_dep, gstpbutils_dep,
                  gstaudio_dep, gstvideo_dep, gstbase_dep],
  install : true,
  install_dir : plugins_install_dir,
)
pkgconfig.generate(gstmpegtsmux, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstmpegtsmux]
