gst-libs/gst/audio/gstaudiofilter.c: Don't set element details for the abstract GstAu...
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 3 Jan 2008 07:17:05 +0000 (07:17 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 3 Jan 2008 07:17:05 +0000 (07:17 +0000)
Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_get_type):
Don't set element details for the abstract GstAudioFilter class.

ChangeLog
gst-libs/gst/audio/gstaudiofilter.c

index c0dea48..f800444 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_get_type):
+       Don't set element details for the abstract GstAudioFilter class.
+
 2008-01-02  Sebastian Dröge  <slomo@circular-chaos.org>
 
        * gst-libs/gst/audio/gstaudiofilter.c:
index c0bb26d..026c4f5 100644 (file)
 GST_DEBUG_CATEGORY_STATIC (audiofilter_dbg);
 #define GST_CAT_DEFAULT audiofilter_dbg
 
-static const GstElementDetails audio_filter_details =
-GST_ELEMENT_DETAILS ("Audio filter base class",
-    "Filter/Effect/Audio",
-    "Filters audio",
-    "David Schleef <ds@schleef.org>");
-
-static void gst_audio_filter_base_init (gpointer g_class);
 static void gst_audio_filter_class_init (gpointer g_class, gpointer class_data);
 static void gst_audio_filter_init (GTypeInstance * instance, gpointer g_class);
 static GstStateChangeReturn gst_audio_filter_change_state (GstElement * element,
@@ -78,7 +71,7 @@ gst_audio_filter_get_type (void)
   if (!audio_filter_type) {
     const GTypeInfo audio_filter_info = {
       sizeof (GstAudioFilterClass),
-      gst_audio_filter_base_init,
+      NULL,
       NULL,
       gst_audio_filter_class_init,
       NULL,
@@ -97,15 +90,6 @@ gst_audio_filter_get_type (void)
 }
 
 static void
-gst_audio_filter_base_init (gpointer g_class)
-{
-  GstAudioFilterClass *klass = (GstAudioFilterClass *) g_class;
-  GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
-
-  gst_element_class_set_details (element_class, &audio_filter_details);
-}
-
-static void
 gst_audio_filter_class_init (gpointer klass, gpointer class_data)
 {
   GstBaseTransformClass *basetrans_class;