scaletempo: use gst_element_class_set_static_metadata()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 17 Oct 2012 16:34:26 +0000 (17:34 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 14 Dec 2012 13:16:17 +0000 (13:16 +0000)
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.

gst/audiofx/gstscaletempo.c

index 3ee6bc5..d94bb0d 100644 (file)
@@ -699,7 +699,7 @@ gst_scaletempo_class_init (GstScaletempoClass * klass)
       gst_static_pad_template_get (&src_template));
   gst_element_class_add_pad_template (gstelement_class,
       gst_static_pad_template_get (&sink_template));
-  gst_element_class_set_metadata (gstelement_class, "Scaletempo",
+  gst_element_class_set_static_metadata (gstelement_class, "Scaletempo",
       "Filter/Effect/Rate",
       "Sync audio tempo with playback rate",
       "Rov Juvano <rovjuvano@users.sourceforge.net>");