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 /ext/sndfile | |
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 'ext/sndfile')
-rw-r--r-- | ext/sndfile/gstsfsink.c | 2 | ||||
-rw-r--r-- | ext/sndfile/gstsfsrc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/sndfile/gstsfsink.c b/ext/sndfile/gstsfsink.c index acb543685..fafd81efb 100644 --- a/ext/sndfile/gstsfsink.c +++ b/ext/sndfile/gstsfsink.c @@ -86,7 +86,7 @@ gst_sf_sink_base_init (gpointer g_class) GST_DEBUG_CATEGORY_INIT (gst_sf_debug, "sfsink", 0, "sfsink element"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sf_sink_factory)); - gst_element_class_set_metadata (element_class, "Sndfile sink", + gst_element_class_set_static_metadata (element_class, "Sndfile sink", "Sink/Audio", "Write audio streams to disk using libsndfile", "Andy Wingo <wingo at pobox dot com>"); diff --git a/ext/sndfile/gstsfsrc.c b/ext/sndfile/gstsfsrc.c index ae45f9f83..a2dac492a 100644 --- a/ext/sndfile/gstsfsrc.c +++ b/ext/sndfile/gstsfsrc.c @@ -86,7 +86,7 @@ gst_sf_src_base_init (gpointer g_class) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sf_src_factory)); - gst_element_class_set_metadata (gstelement_class, "Sndfile source", + gst_element_class_set_static_metadata (gstelement_class, "Sndfile source", "Source/Audio", "Read audio streams from disk using libsndfile", "Andy Wingo <wingo at pobox dot com>"); |