summaryrefslogtreecommitdiff
path: root/gst/siren
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/siren
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/siren')
-rw-r--r--gst/siren/gstsirendec.c13
-rw-r--r--gst/siren/gstsirenenc.c13
2 files changed, 8 insertions, 18 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
diff --git a/gst/siren/gstsirenenc.c b/gst/siren/gstsirenenc.c
index 464950310..561d2689d 100644
--- a/gst/siren/gstsirenenc.c
+++ b/gst/siren/gstsirenenc.c
@@ -42,14 +42,6 @@ GST_DEBUG_CATEGORY (sirenenc_debug);
#define FRAME_DURATION (20 * GST_MSECOND)
-/* elementfactory information */
-static const GstElementDetails gst_siren_enc_details =
-GST_ELEMENT_DETAILS ("Siren Encoder element",
- "Codec/Encoder/Audio ",
- "Encode 16bit PCM streams into the Siren7 codec",
- "Youness Alaoui <kakaroto@kakaroto.homelinux.net>");
-
-
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -108,7 +100,10 @@ gst_siren_enc_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_enc_details);
+ gst_element_class_set_details_simple (element_class, "Siren Encoder element",
+ "Codec/Encoder/Audio ",
+ "Encode 16bit PCM streams into the Siren7 codec",
+ "Youness Alaoui <kakaroto@kakaroto.homelinux.net>");
}
static void