summaryrefslogtreecommitdiff
path: root/ext/gsm/gstgsmenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gsm/gstgsmenc.c')
-rw-r--r--ext/gsm/gstgsmenc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c
index ffd629a1f..828334032 100644
--- a/ext/gsm/gstgsmenc.c
+++ b/ext/gsm/gstgsmenc.c
@@ -30,13 +30,6 @@
GST_DEBUG_CATEGORY_STATIC (gsmenc_debug);
#define GST_CAT_DEFAULT (gsmenc_debug)
-/* elementfactory information */
-static const GstElementDetails gst_gsmenc_details =
-GST_ELEMENT_DETAILS ("GSM audio encoder",
- "Codec/Encoder/Audio",
- "Encodes GSM audio",
- "Philippe Khalaf <burger@speedy.org>");
-
/* GSMEnc signals and args */
enum
{
@@ -111,7 +104,9 @@ gst_gsmenc_base_init (gpointer g_class)
gst_static_pad_template_get (&gsmenc_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gsmenc_src_template));
- gst_element_class_set_details (element_class, &gst_gsmenc_details);
+ gst_element_class_set_details_simple (element_class, "GSM audio encoder",
+ "Codec/Encoder/Audio",
+ "Encodes GSM audio", "Philippe Khalaf <burger@speedy.org>");
}
static void