elements: add dataurisrc to build

Moved from -bad.
This commit is contained in:
Tim-Philipp Müller 2016-11-28 11:07:20 +00:00
parent 76c47b7e9c
commit 1aceebd67f
3 changed files with 7 additions and 15 deletions

View file

@ -5,6 +5,7 @@ libgstcoreelements_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_V
libgstcoreelements_la_SOURCES = \
gstcapsfilter.c \
gstconcat.c \
gstdataurisrc.c \
gstdownloadbuffer.c \
gstelements.c \
gstelements_private.c \
@ -37,6 +38,7 @@ libgstcoreelements_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
noinst_HEADERS = \
gstcapsfilter.h \
gstconcat.h \
gstdataurisrc.h \
gstdownloadbuffer.h \
gstelements_private.h \
gstfakesink.h \

View file

@ -1,5 +1,4 @@
/* GStreamer
*
/* GStreamer data:// uri source element
* Copyright (C) 2009 Igalia S.L
* Copyright (C) 2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
*
@ -462,16 +461,3 @@ gst_data_uri_src_handler_init (gpointer g_iface, gpointer iface_data)
iface->get_uri = gst_data_uri_src_get_uri;
iface->set_uri = gst_data_uri_src_set_uri;
}
static gboolean
plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "dataurisrc",
GST_RANK_PRIMARY, GST_TYPE_DATA_URI_SRC);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
dataurisrc,
"data: URI source",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);

View file

@ -29,6 +29,7 @@
#include "gstcapsfilter.h"
#include "gstconcat.h"
#include "gstdataurisrc.h"
#include "gstdownloadbuffer.h"
#include "gstfakesink.h"
#include "gstfakesrc.h"
@ -57,6 +58,9 @@ plugin_init (GstPlugin * plugin)
if (!gst_element_register (plugin, "concat", GST_RANK_NONE,
gst_concat_get_type ()))
return FALSE;
if (!gst_element_register (plugin, "dataurisrc", GST_RANK_PRIMARY,
gst_data_uri_src_get_type ()))
return FALSE;
if (!gst_element_register (plugin, "downloadbuffer", GST_RANK_NONE,
gst_download_buffer_get_type ()))
return FALSE;