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>
* gst/librfb/Makefile.am:

View file

@ -488,16 +488,3 @@ gst_afsink_handle_event (GstPad * pad, GstEvent * event)
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"))
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");

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

View file

@ -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

View file

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

View file

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

View file

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