Commit 4743974a authored by Dafydd Harries's avatar Dafydd Harries

split gst plugin init into separate file

darcs-hash:20070208155650-c9803-0394e95955c04e9f37887dfb61e27ac1c3db0deb.gz
parent 7832372d
...@@ -17,7 +17,8 @@ lib_LTLIBRARIES = libgstnice.la ...@@ -17,7 +17,8 @@ lib_LTLIBRARIES = libgstnice.la
libgstnice_la_SOURCES = \ libgstnice_la_SOURCES = \
gstnicesrc.h \ gstnicesrc.h \
gstnicesrc.c gstnicesrc.c \
gstnice.c
libgstnice_la_LIBADD = $(COMMON_LDADD) libgstnice_la_LIBADD = $(COMMON_LDADD)
......
#include "config.h"
#include "gstnicesrc.h"
static gboolean
plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "nicesrc", GST_RANK_NONE,
GST_TYPE_NICE_SRC);
}
GST_PLUGIN_DEFINE (
GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"nicesrc",
"Interactive UDP connectivity establishment",
plugin_init, VERSION, "LGPL", PACKAGE_NAME,
"http://telepathy.freedesktop.org/wiki/");
...@@ -32,21 +32,6 @@ GST_STATIC_PAD_TEMPLATE ( ...@@ -32,21 +32,6 @@ GST_STATIC_PAD_TEMPLATE (
GST_BOILERPLATE (GstNiceSrc, gst_nice_src, GstBaseSrc, GST_TYPE_BASE_SRC); GST_BOILERPLATE (GstNiceSrc, gst_nice_src, GstBaseSrc, GST_TYPE_BASE_SRC);
static gboolean
plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "nicesrc", GST_RANK_NONE,
GST_TYPE_NICE_SRC);
}
GST_PLUGIN_DEFINE (
GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"nicesrc",
"Interactive UDP connectivity establishment",
plugin_init, VERSION, "LGPL", PACKAGE_NAME,
"http://telepathy.freedesktop.org/wiki/");
enum enum
{ {
PROP_AGENT = 1, PROP_AGENT = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment