From e552bd484fb7d2c2d8ad1e688321e9b950805b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 17 Oct 2012 17:34:26 +0100 Subject: [PATCH] scaletempo: 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. --- gst/audiofx/gstscaletempo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audiofx/gstscaletempo.c b/gst/audiofx/gstscaletempo.c index 3ee6bc58fe..d94bb0da0c 100644 --- a/gst/audiofx/gstscaletempo.c +++ b/gst/audiofx/gstscaletempo.c @@ -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 ");