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
This commit is contained in:
Stefan Kost 2006-11-24 09:05:39 +00:00
parent d7689f6683
commit fecfce245a
8 changed files with 17 additions and 29 deletions

View File

@ -1,3 +1,14 @@
2006-11-24 Stefan Kost <ensonic@users.sf.net>
* 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
2006-11-19 Michael Smith <msmith@fluendo.com> 2006-11-19 Michael Smith <msmith@fluendo.com>
* gst/librfb/Makefile.am: * gst/librfb/Makefile.am:

View File

@ -488,16 +488,3 @@ gst_afsink_handle_event (GstPad * pad, GstEvent * event)
return TRUE; return TRUE;
} }
/*
gboolean
gst_afsink_factory_init (GstElementFactory *factory)
{
GstPadTemplate *sink_pt;
sink_pt = afsink_sink_factory();
gst_element_factory_add_pad_template (factory, sink_pt);
return TRUE;
}
*/

View File

@ -12,7 +12,8 @@ plugin_init (GstPlugin * plugin)
if (!gst_library_load ("gstaudio")) if (!gst_library_load ("gstaudio"))
return FALSE; return FALSE;
if (!(gst_polypsink_factory_init (plugin))) if (!(gst_element_register (plugin, "polypsink", GST_RANK_NONE,
GST_TYPE_POLYPSINK)))
return FALSE; return FALSE;
GST_DEBUG_CATEGORY_INIT (polyp_debug, "polyp", 0, "Polypaudio elements"); GST_DEBUG_CATEGORY_INIT (polyp_debug, "polyp", 0, "Polypaudio elements");

View File

@ -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 GType
gst_polypsink_get_type (void) gst_polypsink_get_type (void)
{ {

View File

@ -51,8 +51,7 @@ struct _GstPolypSinkClass {
GstElementClass parent_class; GstElementClass parent_class;
}; };
GType gst_polypsink_get_type(void); GType gst_polypsink_get_type (void);
gboolean gst_polypsink_factory_init(GstPlugin *plugin);
G_END_DECLS G_END_DECLS

View File

@ -106,7 +106,6 @@ struct _Dxr3AudioSinkClass {
extern GType dxr3audiosink_get_type (void); extern GType dxr3audiosink_get_type (void);
extern gboolean dxr3audiosink_factory_init (GstPlugin *plugin);
G_END_DECLS G_END_DECLS

View File

@ -80,7 +80,6 @@ struct _Dxr3SpuSinkClass {
extern GType dxr3spusink_get_type (void); extern GType dxr3spusink_get_type (void);
extern gboolean dxr3spusink_factory_init (GstPlugin *plugin);
G_END_DECLS G_END_DECLS

View File

@ -90,7 +90,6 @@ struct _Dxr3VideoSinkClass {
extern GType dxr3videosink_get_type (void); extern GType dxr3videosink_get_type (void);
extern gboolean dxr3videosink_factory_init (GstPlugin *plugin);
G_END_DECLS G_END_DECLS