gstreamer/gst/mpegtsmux/gstmpegtsmuxplugin.c
2019-05-19 19:40:48 +00:00

26 lines
609 B
C

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstmpegtsmux.h"
#include "gstatscmux.h"
static gboolean
plugin_init (GstPlugin * plugin)
{
gst_mpegts_initialize ();
if (!gst_element_register (plugin, "mpegtsmux", GST_RANK_PRIMARY,
gst_mpeg_ts_mux_get_type ()))
return FALSE;
if (!gst_element_register (plugin, "atscmux", GST_RANK_PRIMARY,
gst_atsc_mux_get_type ()))
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);