-/* GStreamer
- *
+/* GStreamer data:// uri source element
* Copyright (C) 2009 Igalia S.L
* Copyright (C) 2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
*
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);
#include "gstcapsfilter.h"
#include "gstconcat.h"
+#include "gstdataurisrc.h"
#include "gstdownloadbuffer.h"
#include "gstfakesink.h"
#include "gstfakesrc.h"
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;