summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-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
-rw-r--r--sys/dxr3/dxr3audiosink.h3
-rw-r--r--sys/dxr3/dxr3spusink.h3
-rw-r--r--sys/dxr3/dxr3videosink.h3
8 files changed, 17 insertions, 29 deletions
diff --git a/ChangeLog b/ChangeLog
index 345b1f08..529ebb12 100644
--- a/ChangeLog
+++ b/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:
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
diff --git a/sys/dxr3/dxr3audiosink.h b/sys/dxr3/dxr3audiosink.h
index 272dc27d..fc6d48f4 100644
--- a/sys/dxr3/dxr3audiosink.h
+++ b/sys/dxr3/dxr3audiosink.h
@@ -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
diff --git a/sys/dxr3/dxr3spusink.h b/sys/dxr3/dxr3spusink.h
index 16746f27..2938c581 100644
--- a/sys/dxr3/dxr3spusink.h
+++ b/sys/dxr3/dxr3spusink.h
@@ -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
diff --git a/sys/dxr3/dxr3videosink.h b/sys/dxr3/dxr3videosink.h
index 08f9e92a..f63a8242 100644
--- a/sys/dxr3/dxr3videosink.h
+++ b/sys/dxr3/dxr3videosink.h
@@ -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