From fecfce245aa4e55d4879801eaae661315cbe9d58 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 24 Nov 2006 09:05:39 +0000 Subject: remove obsolete _factory_init protos and functions Original commit message from CVS: * ext/audiofile/gstafsink.c: * ext/polyp/plugin.c: (plugin_init): * ext/polyp/polypsink.c: * ext/polyp/polypsink.h: * sys/dxr3/dxr3audiosink.h: * sys/dxr3/dxr3spusink.h: * sys/dxr3/dxr3videosink.h: remove obsolete _factory_init protos and functions --- ext/polyp/plugin.c | 3 ++- ext/polyp/polypsink.c | 7 ------- ext/polyp/polypsink.h | 3 +-- 3 files changed, 3 insertions(+), 10 deletions(-) (limited to 'ext/polyp') diff --git a/ext/polyp/plugin.c b/ext/polyp/plugin.c index aea78e24..02aa3e68 100644 --- a/ext/polyp/plugin.c +++ b/ext/polyp/plugin.c @@ -12,7 +12,8 @@ plugin_init (GstPlugin * plugin) if (!gst_library_load ("gstaudio")) return FALSE; - if (!(gst_polypsink_factory_init (plugin))) + if (!(gst_element_register (plugin, "polypsink", GST_RANK_NONE, + GST_TYPE_POLYPSINK))) return FALSE; GST_DEBUG_CATEGORY_INIT (polyp_debug, "polyp", 0, "Polypaudio elements"); diff --git a/ext/polyp/polypsink.c b/ext/polyp/polypsink.c index 13ad6654..cb126cb4 100644 --- a/ext/polyp/polypsink.c +++ b/ext/polyp/polypsink.c @@ -668,13 +668,6 @@ gst_polypsink_class_init (gpointer g_class, gpointer class_data) } -gboolean -gst_polypsink_factory_init (GstPlugin * plugin) -{ - return gst_element_register (plugin, "polypsink", GST_RANK_NONE, - GST_TYPE_POLYPSINK); -} - GType gst_polypsink_get_type (void) { diff --git a/ext/polyp/polypsink.h b/ext/polyp/polypsink.h index d67da870..1e7813fb 100644 --- a/ext/polyp/polypsink.h +++ b/ext/polyp/polypsink.h @@ -51,8 +51,7 @@ struct _GstPolypSinkClass { GstElementClass parent_class; }; -GType gst_polypsink_get_type(void); -gboolean gst_polypsink_factory_init(GstPlugin *plugin); +GType gst_polypsink_get_type (void); G_END_DECLS -- cgit v1.2.1