summaryrefslogtreecommitdiffstats
path: root/ext/esd/esdsink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/esd/esdsink.c')
-rw-r--r--ext/esd/esdsink.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c
index 54cb2833..3d985b5b 100644
--- a/ext/esd/esdsink.c
+++ b/ext/esd/esdsink.c
@@ -317,8 +317,8 @@ gst_esdsink_get_property (GObject *object, guint prop_id, GValue *value, GParamS
}
}
-static gboolean
-plugin_init (GModule *module, GstPlugin *plugin)
+gboolean
+gst_esdsink_factory_init (GstPlugin *plugin)
{
GstElementFactory *factory;
@@ -326,20 +326,14 @@ plugin_init (GModule *module, GstPlugin *plugin)
&esdsink_details);
g_return_val_if_fail(factory != NULL, FALSE);
- gst_element_factory_add_pad_template(factory, GST_PAD_TEMPLATE_GET (sink_factory));
+ gst_element_factory_add_pad_template(factory,
+ GST_PAD_TEMPLATE_GET (sink_factory));
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
return TRUE;
}
-GstPluginDesc plugin_desc = {
- GST_VERSION_MAJOR,
- GST_VERSION_MINOR,
- "esdsink",
- plugin_init
-};
-
static gboolean
gst_esdsink_open_audio (GstEsdsink *sink)
{