mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
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:
parent
d7689f6683
commit
fecfce245a
8 changed files with 17 additions and 29 deletions
11
ChangeLog
11
ChangeLog
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
||||
}
|
||||
*/
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue