mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
6d09b2039d
Note that uppercase debug category names are used for core modules and should be redefined in lowercase for plugins if necessary.
28 lines
546 B
C
28 lines
546 B
C
#ifdef HAVE_CONFIG_H
|
|
# include <config.h>
|
|
#endif
|
|
|
|
#include <string.h>
|
|
|
|
#include <gst/gst.h>
|
|
|
|
#include "gstdashdemux.h"
|
|
#include "gstdashsink.h"
|
|
|
|
static gboolean
|
|
dash_init (GstPlugin * plugin)
|
|
{
|
|
if (!gst_element_register (plugin, "dashdemux", GST_RANK_PRIMARY,
|
|
GST_TYPE_DASH_DEMUX))
|
|
return FALSE;
|
|
|
|
if (!gst_dash_sink_plugin_init (plugin))
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
GST_VERSION_MINOR,
|
|
dash,
|
|
"DASH plugin", dash_init, VERSION, "LGPL", PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|