summaryrefslogtreecommitdiff
path: root/gst/audiobuffer
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 22:46:41 +0100
commit775c7584fdad53053ae5b22bb19074cc6022ee98 (patch)
tree149c7daf4efd3ecaf17a179949e20b44347859ab /gst/audiobuffer
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/audiobuffer')
-rw-r--r--gst/audiobuffer/gstaudioringbuffer.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gst/audiobuffer/gstaudioringbuffer.c b/gst/audiobuffer/gstaudioringbuffer.c
index 19a9c48bf..e3bc47a56 100644
--- a/gst/audiobuffer/gstaudioringbuffer.c
+++ b/gst/audiobuffer/gstaudioringbuffer.c
@@ -39,12 +39,6 @@
#include <gst/audio/gstringbuffer.h>
-static const GstElementDetails gst_audio_ringbuffer_details =
-GST_ELEMENT_DETAILS ("AudioRingbuffer",
- "Generic",
- "Asynchronous Audio ringbuffer",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -331,8 +325,9 @@ gst_audio_ringbuffer_class_init (GstAudioRingbufferClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_details (gstelement_class,
- &gst_audio_ringbuffer_details);
+ gst_element_class_set_details_simple (gstelement_class, "AudioRingbuffer",
+ "Generic",
+ "Asynchronous Audio ringbuffer", "Wim Taymans <wim.taymans@gmail.com>");
/* set several parent class virtual functions */
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_audio_ringbuffer_finalize);