diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-18 17:30:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-18 22:46:41 +0100 |
commit | 775c7584fdad53053ae5b22bb19074cc6022ee98 (patch) | |
tree | 149c7daf4efd3ecaf17a179949e20b44347859ab /ext/gsm | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) | |
download | gstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/gsm')
-rw-r--r-- | ext/gsm/gstgsmdec.c | 11 | ||||
-rw-r--r-- | ext/gsm/gstgsmenc.c | 11 |
2 files changed, 6 insertions, 16 deletions
diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c index f3a83904b..facea23ce 100644 --- a/ext/gsm/gstgsmdec.c +++ b/ext/gsm/gstgsmdec.c @@ -30,13 +30,6 @@ GST_DEBUG_CATEGORY_STATIC (gsmdec_debug); #define GST_CAT_DEFAULT (gsmdec_debug) -/* elementfactory information */ -static const GstElementDetails gst_gsmdec_details = -GST_ELEMENT_DETAILS ("GSM audio decoder", - "Codec/Decoder/Audio", - "Decodes GSM encoded audio", - "Philippe Khalaf <burger@speedy.org>"); - /* GSMDec signals and args */ enum { @@ -117,7 +110,9 @@ gst_gsmdec_base_init (gpointer g_class) gst_static_pad_template_get (&gsmdec_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gsmdec_src_template)); - gst_element_class_set_details (element_class, &gst_gsmdec_details); + gst_element_class_set_details_simple (element_class, "GSM audio decoder", + "Codec/Decoder/Audio", + "Decodes GSM encoded audio", "Philippe Khalaf <burger@speedy.org>"); } static void 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 |