2013-05-08 14:13:32 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
2012-10-17 13:50:33 +00:00
|
|
|
#include <string.h>
|
|
|
|
|
2013-05-08 14:13:32 +00:00
|
|
|
#include <gst/gst.h>
|
|
|
|
|
|
|
|
#include "gstdashdemux.h"
|
2019-05-16 17:42:37 +00:00
|
|
|
#include "gstdashsink.h"
|
|
|
|
|
2013-05-08 14:13:32 +00:00
|
|
|
static gboolean
|
2019-05-16 17:42:37 +00:00
|
|
|
dash_init (GstPlugin * plugin)
|
2013-05-08 14:13:32 +00:00
|
|
|
{
|
2019-05-16 17:42:37 +00:00
|
|
|
if (!gst_element_register (plugin, "dashdemux", GST_RANK_PRIMARY,
|
2020-01-06 16:40:57 +00:00
|
|
|
GST_TYPE_DASH_DEMUX))
|
2019-05-16 17:42:37 +00:00
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
if (!gst_dash_sink_plugin_init (plugin))
|
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
return TRUE;
|
2013-05-08 14:13:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
2019-05-16 17:42:37 +00:00
|
|
|
dash,
|
|
|
|
"DASH plugin", dash_init, VERSION, "LGPL", PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|