summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-11-24 09:05:39 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-11-24 09:05:39 +0000
commitfecfce245aa4e55d4879801eaae661315cbe9d58 (patch)
tree76ae11d74427cca44950ca8dc548e95fb331f3ee /ext
parentd7689f66836aee3e2e260914f242d3f18af6229d (diff)
downloadgst-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')
-rw-r--r--ext/audiofile/gstafsink.c13
-rw-r--r--ext/polyp/plugin.c3
-rw-r--r--ext/polyp/polypsink.c7
-rw-r--r--ext/polyp/polypsink.h3
4 files changed, 3 insertions, 23 deletions
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index a6103bf4..68ee3bb5 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -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;
-
-}
-*/
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