2019-04-25 16:26:27 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
2019-04-29 23:42:59 +00:00
|
|
|
#include "gstmpegtsmux.h"
|
|
|
|
#include "gstatscmux.h"
|
2019-04-25 16:26:27 +00:00
|
|
|
|
|
|
|
static gboolean
|
|
|
|
plugin_init (GstPlugin * plugin)
|
|
|
|
{
|
|
|
|
gst_mpegts_initialize ();
|
|
|
|
|
|
|
|
if (!gst_element_register (plugin, "mpegtsmux", GST_RANK_PRIMARY,
|
2019-04-29 23:42:59 +00:00
|
|
|
gst_mpeg_ts_mux_get_type ()))
|
2019-04-25 16:26:27 +00:00
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
if (!gst_element_register (plugin, "atscmux", GST_RANK_PRIMARY,
|
2019-04-29 23:42:59 +00:00
|
|
|
gst_atsc_mux_get_type ()))
|
2019-04-25 16:26:27 +00:00
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR,
|
|
|
|
mpegtsmux, "MPEG-TS muxer",
|
|
|
|
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
|