mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
elements: add dataurisrc to build
Moved from -bad.
This commit is contained in:
parent
76c47b7e9c
commit
1aceebd67f
3 changed files with 7 additions and 15 deletions
|
@ -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 \
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue