From 83bedf3e0712370a55718335ddf6c1ff8f784200 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sun, 20 Aug 2006 13:06:44 +0000 Subject: docs/plugins/: cleanup -unused.txt to make it useful, add previously missing docs Original commit message from CVS: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/inspect/plugin-audiofxgood.xml: cleanup -unused.txt to make it useful, add previously missing docs * ext/Makefile.am: * ext/esd/esdmon.c: * ext/esd/esdsink.c: * ext/esd/gstesd.c: (plugin_init): reflow to get rid of two external symbols * gst/audiofxgood/audiofx.c: (plugin_init): re-add --- ext/esd/esdmon.c | 9 --------- ext/esd/esdsink.c | 10 ---------- ext/esd/gstesd.c | 6 +++--- 3 files changed, 3 insertions(+), 22 deletions(-) (limited to 'ext/esd') diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index 6a97e23c..2e10f2b1 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -359,15 +359,6 @@ gst_esdmon_get_property (GObject * object, guint prop_id, GValue * value, } } -gboolean -gst_esdmon_factory_init (GstPlugin * plugin) -{ - if (!gst_element_register (plugin, "esdmon", GST_RANK_NONE, GST_TYPE_ESDMON)) - return FALSE; - - return TRUE; -} - static gboolean gst_esdmon_open_audio (GstEsdmon * src) { diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index 6ab2612b..3a868d44 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -470,13 +470,3 @@ gst_esdsink_get_property (GObject * object, guint prop_id, GValue * value, break; } } - -gboolean -gst_esdsink_factory_init (GstPlugin * plugin) -{ - if (!gst_element_register (plugin, "esdsink", GST_RANK_MARGINAL, - GST_TYPE_ESDSINK)) - return FALSE; - - return TRUE; -} 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 -- cgit