summaryrefslogtreecommitdiff
path: root/gst/siren
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-17 17:34:26 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-17 17:46:34 +0100
commit32ba17cd0f37d407ab810858f356de386c50b7b9 (patch)
tree794351ffb8e0c764d1896ee9a505b76616738719 /gst/siren
parenta7258842ab7a68514011298c1038cca5c6e1f9a5 (diff)
Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent some stuff. Also some indent fixes here and there.
Diffstat (limited to 'gst/siren')
-rw-r--r--gst/siren/gstsirendec.c2
-rw-r--r--gst/siren/gstsirenenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/siren/gstsirendec.c b/gst/siren/gstsirendec.c
index 9afc14193..fbdfcd044 100644
--- a/gst/siren/gstsirendec.c
+++ b/gst/siren/gstsirendec.c
@@ -78,7 +78,7 @@ gst_siren_dec_class_init (GstSirenDecClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_metadata (element_class, "Siren Decoder element",
+ gst_element_class_set_static_metadata (element_class, "Siren Decoder element",
"Codec/Decoder/Audio ",
"Decode streams encoded with the Siren7 codec into 16bit PCM",
"Youness Alaoui <kakaroto@kakaroto.homelinux.net>");
diff --git a/gst/siren/gstsirenenc.c b/gst/siren/gstsirenenc.c
index e3c63a400..caf039e44 100644
--- a/gst/siren/gstsirenenc.c
+++ b/gst/siren/gstsirenenc.c
@@ -76,7 +76,7 @@ gst_siren_enc_class_init (GstSirenEncClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_metadata (element_class, "Siren Encoder element",
+ gst_element_class_set_static_metadata (element_class, "Siren Encoder element",
"Codec/Encoder/Audio ",
"Encode 16bit PCM streams into the Siren7 codec",
"Youness Alaoui <kakaroto@kakaroto.homelinux.net>");