gstreamer/gst/mpegtsmux/gstmpegtsmuxplugin.c

27 lines
609 B
C
Raw Normal View History

2019-04-25 16:26:27 +00:00
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#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,
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,
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);