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/audiovisualizers | |
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/audiovisualizers')
-rw-r--r-- | gst/audiovisualizers/gstspacescope.c | 2 | ||||
-rw-r--r-- | gst/audiovisualizers/gstspectrascope.c | 2 | ||||
-rw-r--r-- | gst/audiovisualizers/gstsynaescope.c | 2 | ||||
-rw-r--r-- | gst/audiovisualizers/gstwavescope.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/gst/audiovisualizers/gstspacescope.c b/gst/audiovisualizers/gstspacescope.c index 355d75d9b..68e990e1c 100644 --- a/gst/audiovisualizers/gstspacescope.c +++ b/gst/audiovisualizers/gstspacescope.c @@ -126,7 +126,7 @@ gst_space_scope_class_init (GstSpaceScopeClass * g_class) GstElementClass *element_class = (GstElementClass *) g_class; GstAudioVisualizerClass *scope_class = (GstAudioVisualizerClass *) g_class; - gst_element_class_set_metadata (element_class, "Stereo visualizer", + gst_element_class_set_static_metadata (element_class, "Stereo visualizer", "Visualization", "Simple stereo visualizer", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/gst/audiovisualizers/gstspectrascope.c b/gst/audiovisualizers/gstspectrascope.c index 10328e39d..d4082981e 100644 --- a/gst/audiovisualizers/gstspectrascope.c +++ b/gst/audiovisualizers/gstspectrascope.c @@ -82,7 +82,7 @@ gst_spectra_scope_class_init (GstSpectraScopeClass * g_class) gobject_class->finalize = gst_spectra_scope_finalize; - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Frequency spectrum scope", "Visualization", "Simple frequency spectrum scope", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/gst/audiovisualizers/gstsynaescope.c b/gst/audiovisualizers/gstsynaescope.c index ba0592f67..abd5f85e7 100644 --- a/gst/audiovisualizers/gstsynaescope.c +++ b/gst/audiovisualizers/gstsynaescope.c @@ -81,7 +81,7 @@ gst_synae_scope_class_init (GstSynaeScopeClass * g_class) gobject_class->finalize = gst_synae_scope_finalize; - gst_element_class_set_metadata (element_class, "Synaescope", + gst_element_class_set_static_metadata (element_class, "Synaescope", "Visualization", "Creates video visualizations of audio input, using stereo and pitch information", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/gst/audiovisualizers/gstwavescope.c b/gst/audiovisualizers/gstwavescope.c index dfa17d9d6..d71e8738d 100644 --- a/gst/audiovisualizers/gstwavescope.c +++ b/gst/audiovisualizers/gstwavescope.c @@ -141,7 +141,7 @@ gst_wave_scope_class_init (GstWaveScopeClass * g_class) GST_TYPE_WAVE_SCOPE_STYLE, STYLE_DOTS, G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Waveform oscilloscope", "Visualization", "Simple waveform oscilloscope", "Stefan Kost <ensonic@users.sf.net>"); |