diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-11-24 09:05:39 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-11-24 09:05:39 +0000 |
commit | fecfce245aa4e55d4879801eaae661315cbe9d58 (patch) | |
tree | 76ae11d74427cca44950ca8dc548e95fb331f3ee /ext/polyp | |
parent | d7689f66836aee3e2e260914f242d3f18af6229d (diff) | |
download | gst-plugins-bad-fecfce245aa4e55d4879801eaae661315cbe9d58.tar.gz gst-plugins-bad-fecfce245aa4e55d4879801eaae661315cbe9d58.tar.bz2 gst-plugins-bad-fecfce245aa4e55d4879801eaae661315cbe9d58.zip |
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
Diffstat (limited to 'ext/polyp')
-rw-r--r-- | ext/polyp/plugin.c | 3 | ||||
-rw-r--r-- | ext/polyp/polypsink.c | 7 | ||||
-rw-r--r-- | ext/polyp/polypsink.h | 3 |
3 files changed, 3 insertions, 10 deletions
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 |