summaryrefslogtreecommitdiffstats
path: root/ext/esd/gstesd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/esd/gstesd.c')
-rw-r--r--ext/esd/gstesd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/esd/gstesd.c b/ext/esd/gstesd.c
index 62554d0a..71fc30bb 100644
--- a/ext/esd/gstesd.c
+++ b/ext/esd/gstesd.c
@@ -33,12 +33,12 @@ GST_DEBUG_CATEGORY (esd_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
- if (!gst_esdsink_factory_init (plugin))
+ if (!gst_element_register (plugin, "esdsink", GST_RANK_MARGINAL,
+ GST_TYPE_ESDSINK))
return FALSE;
#if 0
- ret = gst_esdmon_factory_init (plugin);
- if (ret == FALSE)
+ if (!gst_element_register (plugin, "esdmon", GST_RANK_NONE, GST_TYPE_ESDMON))
return FALSE;
#endif