diff options
Diffstat (limited to 'gst/siren/gstsirendec.c')
-rw-r--r-- | gst/siren/gstsirendec.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/gst/siren/gstsirendec.c b/gst/siren/gstsirendec.c index 976a7adb5..2e517199f 100644 --- a/gst/siren/gstsirendec.c +++ b/gst/siren/gstsirendec.c @@ -42,14 +42,6 @@ GST_DEBUG_CATEGORY (sirendec_debug); #define FRAME_DURATION (20 * GST_MSECOND) -/* elementfactory information */ -static const GstElementDetails gst_siren_dec_details = -GST_ELEMENT_DETAILS ("Siren Decoder element", - "Codec/Decoder/Audio ", - "Decode streams encoded with the Siren7 codec into 16bit PCM", - "Youness Alaoui <kakaroto@kakaroto.homelinux.net>"); - - static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, @@ -105,7 +97,10 @@ gst_siren_dec_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_details (element_class, &gst_siren_dec_details); + gst_element_class_set_details_simple (element_class, "Siren Decoder element", + "Codec/Decoder/Audio ", + "Decode streams encoded with the Siren7 codec into 16bit PCM", + "Youness Alaoui <kakaroto@kakaroto.homelinux.net>"); } static void |