diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-10-17 17:34:26 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-10-17 17:46:34 +0100 |
commit | 32ba17cd0f37d407ab810858f356de386c50b7b9 (patch) | |
tree | 794351ffb8e0c764d1896ee9a505b76616738719 /gst/tta | |
parent | a7258842ab7a68514011298c1038cca5c6e1f9a5 (diff) | |
download | gstreamer-plugins-bad-32ba17cd0f37d407ab810858f356de386c50b7b9.tar.gz |
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/tta')
-rw-r--r-- | gst/tta/gstttadec.c | 2 | ||||
-rw-r--r-- | gst/tta/gstttaparse.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c index aa7f4d0ad..38da3d400 100644 --- a/gst/tta/gstttadec.c +++ b/gst/tta/gstttadec.c @@ -175,7 +175,7 @@ gst_tta_dec_base_init (GstTtaDecClass * klass) gst_static_pad_template_get (&src_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (element_class, "TTA audio decoder", + gst_element_class_set_static_metadata (element_class, "TTA audio decoder", "Codec/Decoder/Audio", "Decode TTA audio data", "Arwed v. Merkatz <v.merkatz@gmx.net>"); } diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c index 9f164d72c..25410545d 100644 --- a/gst/tta/gstttaparse.c +++ b/gst/tta/gstttaparse.c @@ -96,7 +96,7 @@ gst_tta_parse_base_init (GstTtaParseClass * klass) gst_static_pad_template_get (&src_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (element_class, "TTA file parser", + gst_element_class_set_static_metadata (element_class, "TTA file parser", "Codec/Demuxer/Audio", "Parses TTA files", "Arwed v. Merkatz <v.merkatz@gmx.net>"); } |