summaryrefslogtreecommitdiff
path: root/gst/adpcmenc
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/adpcmenc
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/adpcmenc')
-rw-r--r--gst/adpcmenc/adpcmenc.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gst/adpcmenc/adpcmenc.c b/gst/adpcmenc/adpcmenc.c
index d91d496c4..89b83341b 100644
--- a/gst/adpcmenc/adpcmenc.c
+++ b/gst/adpcmenc/adpcmenc.c
@@ -42,12 +42,6 @@
#define GST_CAT_DEFAULT adpcmenc_debug
GST_DEBUG_CATEGORY_STATIC (adpcmenc_debug);
-static const GstElementDetails adpcmenc_details =
-GST_ELEMENT_DETAILS ("ADPCM encoder",
- "Codec/Encoder/Audio",
- "Encode ADPCM audio",
- "Pioneers of the Inevitable <songbird@songbirdnest.com");
-
static GstStaticPadTemplate adpcmenc_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
@@ -552,7 +546,10 @@ adpcmenc_base_init (gpointer klass)
gst_static_pad_template_get (&adpcmenc_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&adpcmenc_src_template));
- gst_element_class_set_details (element_class, &adpcmenc_details);
+ gst_element_class_set_details_simple (element_class, "ADPCM encoder",
+ "Codec/Encoder/Audio",
+ "Encode ADPCM audio",
+ "Pioneers of the Inevitable <songbird@songbirdnest.com");
}
static gboolean