Commit e09ae573 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

Use new gst_element_class_set_static_metadata()

parent be9baf1a
......@@ -212,7 +212,7 @@ gst_aasink_class_init (GstAASinkClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_template));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"ASCII art video sink", "Sink/Video", "An ASCII art videosink",
"Wim Taymans <wim.taymans@chello.be>");
......
......@@ -145,7 +145,7 @@ gst_cmml_dec_class_init (GstCmmlDecClass * klass)
gst_static_pad_template_get (&gst_cmml_dec_sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cmml_dec_src_factory));
gst_element_class_set_details_simple (element_class, "CMML stream decoder",
gst_element_class_set_static_metadata (element_class, "CMML stream decoder",
"Codec/Decoder",
"Decodes CMML streams", "Alessandro Decina <alessandro@nnva.org>");
}
......
......@@ -144,7 +144,7 @@ gst_cmml_enc_class_init (GstCmmlEncClass * enc_class)
gst_static_pad_template_get (&gst_cmml_enc_sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cmml_enc_src_factory));
gst_element_class_set_details_simple (element_class, "CMML streams encoder",
gst_element_class_set_static_metadata (element_class, "CMML streams encoder",
"Codec/Encoder",
"Encodes CMML streams", "Alessandro Decina <alessandro@nnva.org>");
}
......
......@@ -189,7 +189,7 @@ gst_cairo_overlay_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class, "Cairo overlay",
gst_element_class_set_static_metadata (element_class, "Cairo overlay",
"Filter/Editor/Video",
"Render overlay on a video stream using Cairo",
"Jon Nordby <jononor@gmail.com>");
......
......@@ -351,7 +351,7 @@ gst_cairo_render_base_init (gpointer g_class)
{
GstElementClass *ec = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (ec, "Cairo encoder",
gst_element_class_set_static_metadata (ec, "Cairo encoder",
"Codec/Encoder", "Encodes streams using Cairo",
"Lutz Mueller <lutz@topfrose.de>");
gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&t_snk));
......
......@@ -139,7 +139,7 @@ gst_text_overlay_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&text_sink_template_factory));
gst_element_class_set_details_simple (element_class, "Text overlay",
gst_element_class_set_static_metadata (element_class, "Text overlay",
"Filter/Editor/Video",
"Adds text strings on top of a video buffer",
"David Schleef <ds@schleef.org>");
......
......@@ -261,7 +261,7 @@ gst_cairo_time_overlay_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class, "Time overlay",
gst_element_class_set_static_metadata (element_class, "Time overlay",
"Filter/Editor/Video",
"Overlays the time on a video stream", "David Schleef <ds@schleef.org>");
......
......@@ -181,7 +181,7 @@ gst_dvdec_class_init (GstDVDecClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&src_temp));
gst_element_class_set_details_simple (gstelement_class, "DV video decoder",
gst_element_class_set_static_metadata (gstelement_class, "DV video decoder",
"Codec/Decoder/Video",
"Uses libdv to decode DV video (smpte314) (libdv.sourceforge.net)",
"Erik Walthinsen <omega@cse.ogi.edu>," "Wim Taymans <wim@fluendo.com>");
......
......@@ -191,7 +191,7 @@ gst_dvdemux_class_init (GstDVDemuxClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&audio_src_temp));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"DV system stream demuxer", "Codec/Demuxer",
"Uses libdv to separate DV audio from DV video (libdv.sourceforge.net)",
"Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>");
......
......@@ -167,7 +167,7 @@ gst_flac_dec_class_init (GstFlacDecClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&flac_dec_sink_factory));
gst_element_class_set_details_simple (gstelement_class, "FLAC audio decoder",
gst_element_class_set_static_metadata (gstelement_class, "FLAC audio decoder",
"Codec/Decoder/Audio", "Decodes FLAC lossless audio streams",
"Tim-Philipp Müller <tim@centricular.net>, "
"Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -367,7 +367,7 @@ gst_flac_enc_class_init (GstFlacEncClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details_simple (gstelement_class, "FLAC audio encoder",
gst_element_class_set_static_metadata (gstelement_class, "FLAC audio encoder",
"Codec/Encoder/Audio",
"Encodes audio with the FLAC lossless audio encoder",
"Wim Taymans <wim.taymans@chello.be>");
......
......@@ -117,7 +117,7 @@ gst_flac_tag_class_init (GstFlacTagClass * klass)
gobject_class->dispose = gst_flac_tag_dispose;
gstelement_class->change_state = gst_flac_tag_change_state;
gst_element_class_set_details_simple (gstelement_class, "FLAC tagger",
gst_element_class_set_static_metadata (gstelement_class, "FLAC tagger",
"Formatter/Metadata",
"Rewrite tags in a FLAC file", "Christophe Fergeau <teuf@gnome.org>");
......
......@@ -192,7 +192,7 @@ gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass)
gst_static_pad_template_get (&gst_gdk_pixbuf_src_template));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_gdk_pixbuf_sink_template));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"GdkPixbuf image decoder", "Codec/Decoder/Image",
"Decodes images in a video stream using GdkPixbuf",
"David A. Schleef <ds@schleef.org>, Renato Filho <renato.filho@indt.org.br>");
......
......@@ -123,7 +123,7 @@ gst_gdk_pixbuf_overlay_base_init (gpointer g_class)
gst_element_class_add_static_pad_template (element_class, &sink_template);
gst_element_class_add_static_pad_template (element_class, &src_template);
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"GdkPixbuf Overlay", "Filter/Effect/Video",
"Overlay an image onto a video stream",
"Tim-Philipp Müller <tim centricular net>");
......
......@@ -142,7 +142,7 @@ gst_gdk_pixbuf_sink_class_init (GstGdkPixbufSinkClass * klass)
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
gst_element_class_set_details_simple (element_class, "GdkPixbuf sink",
gst_element_class_set_static_metadata (element_class, "GdkPixbuf sink",
"Sink/Video", "Output images as GdkPixbuf objects in bus messages",
"Tim-Philipp Müller <tim centricular net>");
......
......@@ -120,8 +120,8 @@ gst_pixbufscale_class_init (GstPixbufScaleClass * klass)
trans_class = (GstBaseTransformClass *) klass;
filter_class = (GstVideoFilterClass *) klass;
gst_element_class_set_details_simple (element_class, "GdkPixbuf image scaler",
"Filter/Effect/Video", "Resizes video",
gst_element_class_set_static_metadata (element_class,
"GdkPixbuf image scaler", "Filter/Effect/Video", "Resizes video",
"Jan Schmidt <thaytan@mad.scientist.com>, "
"Wim Taymans <wim.taymans@chello.be>, "
"Renato Filho <renato.filho@indt.org.br>");
......
......@@ -766,7 +766,7 @@ gst_jack_audio_sink_class_init (GstJackAudioSinkClass * klass)
GST_TYPE_JACK_TRANSPORT, DEFAULT_PROP_TRANSPORT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "Audio Sink (Jack)",
gst_element_class_set_static_metadata (gstelement_class, "Audio Sink (Jack)",
"Sink/Audio", "Output audio to a JACK server",
"Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -790,8 +790,9 @@ gst_jack_audio_src_class_init (GstJackAudioSrcClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&src_factory));
gst_element_class_set_details_simple (gstelement_class, "Audio Source (Jack)",
"Source/Audio", "Captures audio from a JACK server",
gst_element_class_set_static_metadata (gstelement_class,
"Audio Source (Jack)", "Source/Audio",
"Captures audio from a JACK server",
"Tristan Matthews <tristan@sat.qc.ca>");
gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_jack_audio_src_getcaps);
......
......@@ -165,7 +165,7 @@ gst_jpeg_dec_class_init (GstJpegDecClass * klass)
gst_static_pad_template_get (&gst_jpeg_dec_src_pad_template));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_jpeg_dec_sink_pad_template));
gst_element_class_set_details_simple (gstelement_class, "JPEG image decoder",
gst_element_class_set_static_metadata (gstelement_class, "JPEG image decoder",
"Codec/Decoder/Image",
"Decode images from JPEG format", "Wim Taymans <wim@fluendo.com>");
......
......@@ -147,7 +147,7 @@ gst_jpegenc_class_init (GstJpegEncClass * klass)
gst_static_pad_template_get (&gst_jpegenc_sink_pad_template));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_jpegenc_src_pad_template));
gst_element_class_set_details_simple (gstelement_class, "JPEG image encoder",
gst_element_class_set_static_metadata (gstelement_class, "JPEG image encoder",
"Codec/Encoder/Image",
"Encode images in JPEG format", "Wim Taymans <wim.taymans@tvd.be>");
......
......@@ -110,7 +110,7 @@ gst_smokedec_base_init (gpointer g_class)
gst_static_pad_template_get (&gst_smokedec_src_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_smokedec_sink_pad_template));
gst_element_class_set_details_simple (element_class, "Smoke video decoder",
gst_element_class_set_static_metadata (element_class, "Smoke video decoder",
"Codec/Decoder/Video",
"Decode video from Smoke format", "Wim Taymans <wim@fluendo.com>");
}
......
......@@ -127,7 +127,7 @@ gst_smokeenc_base_init (gpointer g_class)
gst_static_pad_template_get (&gst_smokeenc_sink_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_smokeenc_src_pad_template));
gst_element_class_set_details_simple (element_class, "Smoke video encoder",
gst_element_class_set_static_metadata (element_class, "Smoke video encoder",
"Codec/Encoder/Video",
"Encode images into the Smoke format", "Wim Taymans <wim@fluendo.com>");
}
......
......@@ -148,7 +148,7 @@ gst_cacasink_class_init (GstCACASinkClass * klass)
gstelement_class->change_state = gst_cacasink_change_state;
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"A colored ASCII art video sink", "Sink/Video",
"A colored ASCII art videosink", "Zeeshan Ali <zak147@yahoo.com>");
gst_element_class_add_pad_template (gstelement_class,
......
......@@ -70,7 +70,7 @@ gst_mng_dec_base_init (gpointer g_class)
gst_static_pad_template_get (&gst_mng_dec_src_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_mng_dec_sink_pad_template));
gst_element_class_set_details_simple (element_class, "MNG video decoder",
gst_element_class_set_static_metadata (element_class, "MNG video decoder",
"Codec/Decoder/Video",
"Decode a mng video to raw images", "Wim Taymans <wim@fluendo.com>");
}
......
......@@ -84,7 +84,7 @@ gst_mng_enc_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, mngenc_sink_template);
gst_element_class_add_pad_template (element_class, mngenc_src_template);
gst_element_class_set_details_simple (element_class, "MNG video encoder",
gst_element_class_set_static_metadata (element_class, "MNG video encoder",
"Codec/Encoder/Video",
"Encode a video frame to an .mng video", "Wim Taymans <wim@fluendo.com>");
}
......
......@@ -88,7 +88,7 @@ gst_pngdec_class_init (GstPngDecClass * klass)
gst_static_pad_template_get (&gst_pngdec_src_pad_template));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_pngdec_sink_pad_template));
gst_element_class_set_details_simple (gstelement_class, "PNG image decoder",
gst_element_class_set_static_metadata (gstelement_class, "PNG image decoder",
"Codec/Decoder/Image",
"Decode a png video frame to a raw image",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -126,7 +126,7 @@ gst_pngenc_class_init (GstPngEncClass * klass)
(element_class, gst_static_pad_template_get (&pngenc_sink_template));
gst_element_class_add_pad_template
(element_class, gst_static_pad_template_get (&pngenc_src_template));
gst_element_class_set_details_simple (element_class, "PNG image encoder",
gst_element_class_set_static_metadata (element_class, "PNG image encoder",
"Codec/Encoder/Image",
"Encode a video frame to a .png image",
"Jeremy SIMON <jsimon13@yahoo.fr>");
......
......@@ -132,7 +132,7 @@ gst_mikmod_base_init (gpointer g_class)
gst_static_pad_template_get (&mikmod_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&mikmod_sink_factory));
gst_element_class_set_details_simple (element_class, "MikMod audio decoder",
gst_element_class_set_static_metadata (element_class, "MikMod audio decoder",
"Codec/Decoder/Audio",
"Module decoder based on libmikmod", "Jeremy SIMON <jsimon13@yahoo.fr>");
}
......
......@@ -103,7 +103,7 @@ gst_pulsemixer_class_init (GstPulseMixerClass * g_class)
"Human-readable name of the sound device", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (GST_ELEMENT_CLASS (g_class),
gst_element_class_set_static_metadata (GST_ELEMENT_CLASS (g_class),
"PulseAudio Mixer",
"Generic/Audio",
"Control sound input and output levels for PulseAudio",
......
......@@ -1862,7 +1862,7 @@ gst_pulsesink_class_init (GstPulseSinkClass * klass)
"list of pulseaudio stream properties",
GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"PulseAudio Audio Sink",
"Sink/Audio", "Plays audio to a PulseAudio server", "Lennart Poettering");
gst_element_class_add_pad_template (gstelement_class,
......
......@@ -228,7 +228,7 @@ gst_pulsesrc_class_init (GstPulseSrcClass * klass)
"record stream", 0, G_MAXUINT, PA_INVALID_INDEX,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"PulseAudio Audio Source",
"Source/Audio",
"Captures audio from a PulseAudio server", "Lennart Poettering");
......
......@@ -173,7 +173,7 @@ gst_dv1394src_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Firewire (1394) DV video source", "Source/Video",
"Source for DV video data from firewire port",
"Erik Walthinsen <omega@temple-baptist.com>, "
......
......@@ -143,7 +143,7 @@ gst_hdv1394src_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Firewire (1394) HDV video source", "Source/Video",
"Source for MPEG-TS video data from firewire port",
"Edward Hervey <bilboed@bilboed.com>");
......
......@@ -209,7 +209,7 @@ gst_shout2send_class_init (GstShout2sendClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_template));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Icecast network sink",
"Sink/Network", "Sends data to an icecast server",
"Wim Taymans <wim.taymans@chello.be>, "
......
......@@ -172,7 +172,7 @@ gst_soup_http_client_sink_class_init (GstSoupHttpClientSinkClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_soup_http_client_sink_sink_template));
gst_element_class_set_details_simple (gstelement_class, "HTTP client sink",
gst_element_class_set_static_metadata (gstelement_class, "HTTP client sink",
"Generic", "Sends streams to HTTP server via PUT",
"David Schleef <ds@entropywave.com>");
......
......@@ -242,7 +242,7 @@ gst_soup_http_src_class_init (GstSoupHTTPSrcClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&srctemplate));
gst_element_class_set_details_simple (gstelement_class, "HTTP client source",
gst_element_class_set_static_metadata (gstelement_class, "HTTP client source",
"Source/Network",
"Receive data as a client over the network via HTTP using SOUP",
"Wouter Cloetens <wouter@mind.be>");
......
......@@ -120,8 +120,8 @@ gst_speex_dec_class_init (GstSpeexDecClass * klass)
gst_static_pad_template_get (&speex_dec_src_factory));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&speex_dec_sink_factory));
gst_element_class_set_details_simple (gstelement_class, "Speex audio decoder",
"Codec/Decoder/Audio",
gst_element_class_set_static_metadata (gstelement_class,
"Speex audio decoder", "Codec/Decoder/Audio",
"decode speex streams to audio", "Wim Taymans <wim@fluendo.com>");
GST_DEBUG_CATEGORY_INIT (speexdec_debug, "speexdec", 0,
......
......@@ -215,8 +215,8 @@ gst_speex_enc_class_init (GstSpeexEncClass * klass)
gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details_simple (gstelement_class, "Speex audio encoder",
"Codec/Encoder/Audio",
gst_element_class_set_static_metadata (gstelement_class,
"Speex audio encoder", "Codec/Encoder/Audio",
"Encodes audio in Speex format", "Wim Taymans <wim@fluendo.com>");
GST_DEBUG_CATEGORY_INIT (speexenc_debug, "speexenc", 0, "Speex encoder");
......
......@@ -91,7 +91,7 @@ gst_apev2_mux_class_init (GstApev2MuxClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"TagLib-based APEv2 Muxer", "Formatter/Metadata",
"Adds an APEv2 header to the beginning of files using taglib",
"Sebastian Dröge <slomo@circular-chaos.org>");
......
......@@ -99,7 +99,7 @@ gst_id3v2_mux_class_init (GstId3v2MuxClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"TagLib-based ID3v2 Muxer", "Formatter/Metadata",
"Adds an ID3v2 header to the beginning of MP3 files using taglib",
"Christophe Fergeau <teuf@gnome.org>");
......
......@@ -109,7 +109,7 @@ gst_wavpack_dec_class_init (GstWavpackDecClass * 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_details_simple (element_class, "Wavpack audio decoder",
gst_element_class_set_static_metadata (element_class, "Wavpack audio decoder",
"Codec/Decoder/Audio",
"Decodes Wavpack audio data",
"Arwed v. Merkatz <v.merkatz@gmx.net>, "
......
......@@ -219,7 +219,7 @@ gst_wavpack_enc_class_init (GstWavpackEncClass * klass)
gst_static_pad_template_get (&wvcsrc_factory));
/* set element details */
gst_element_class_set_details_simple (element_class, "Wavpack audio encoder",
gst_element_class_set_static_metadata (element_class, "Wavpack audio encoder",
"Codec/Encoder/Audio",
"Encodes audio with the Wavpack lossless/lossy audio codec",
"Sebastian Dröge <slomo@circular-chaos.org>");
......
......@@ -263,7 +263,7 @@ gst_alpha_class_init (GstAlphaClass * klass)
DEFAULT_PREFER_PASSTHROUGH,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "Alpha filter",
gst_element_class_set_static_metadata (gstelement_class, "Alpha filter",
"Filter/Effect/Video",
"Adds an alpha channel to video - uniform or via chroma-keying",
"Wim Taymans <wim.taymans@gmail.com>\n"
......
......@@ -80,7 +80,7 @@ gst_alpha_color_class_init (GstAlphaColorClass * klass)
GST_DEBUG_CATEGORY_INIT (alpha_color_debug, "alphacolor", 0,
"ARGB<->AYUV colorspace conversion preserving the alpha channels");
gst_element_class_set_details_simple (gstelement_class, "Alpha color filter",
gst_element_class_set_static_metadata (gstelement_class, "Alpha color filter",
"Filter/Converter/Video",
"ARGB from/to AYUV colorspace conversion preserving the alpha channel",
"Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -86,7 +86,7 @@ gst_ape_demux_class_init (GstApeDemuxClass * klass)
tagdemux_class = GST_TAG_DEMUX_CLASS (klass);
element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details_simple (element_class, "APE tag demuxer",
gst_element_class_set_static_metadata (element_class, "APE tag demuxer",
"Codec/Demuxer/Metadata",
"Read and output APE tags while demuxing the contents",
"Tim-Philipp Müller <tim centricular net>");
......
......@@ -287,7 +287,7 @@ gst_audio_amplify_class_init (GstAudioAmplifyClass * klass)
GST_TYPE_AUDIO_AMPLIFY_CLIPPING_METHOD, METHOD_CLIP,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "Audio amplifier",
gst_element_class_set_static_metadata (gstelement_class, "Audio amplifier",
"Filter/Effect/Audio",
"Amplifies an audio stream by a given factor",
"Sebastian Dröge <slomo@circular-chaos.org>");
......
......@@ -187,7 +187,7 @@ gst_audio_cheb_band_class_init (GstAudioChebBandClass * klass)
4, 32, 4,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Band pass & band reject filter", "Filter/Effect/Audio",
"Chebyshev band pass and band reject filter",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -178,7 +178,7 @@ gst_audio_cheb_limit_class_init (GstAudioChebLimitClass * klass)
2, 32, 4,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Low pass & high pass filter",
"Filter/Effect/Audio",
"Chebyshev low pass and high pass filter",
......
......@@ -245,7 +245,7 @@ gst_audio_dynamic_class_init (GstAudioDynamicClass * klass)
1.0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Dynamic range controller", "Filter/Effect/Audio",
"Compressor and Expander", "Sebastian Dröge <slomo@circular-chaos.org>");
......
......@@ -136,7 +136,7 @@ gst_audio_echo_class_init (GstAudioEchoClass * klass)
0.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS
| GST_PARAM_CONTROLLABLE));
gst_element_class_set_details_simple (gstelement_class, "Audio echo",
gst_element_class_set_static_metadata (gstelement_class, "Audio echo",
"Filter/Effect/Audio",
"Adds an echo or reverb effect to an audio stream",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -136,7 +136,7 @@ gst_audio_fir_filter_class_init (GstAudioFIRFilterClass * klass)
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstAudioFIRFilterClass, rate_changed),
NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_INT);
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Audio FIR filter", "Filter/Effect/Audio",
"Generic audio FIR filter with custom filter kernel",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -134,7 +134,7 @@ gst_audio_iir_filter_class_init (GstAudioIIRFilterClass * klass)
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstAudioIIRFilterClass, rate_changed),
NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_INT);
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Audio IIR filter", "Filter/Effect/Audio",
"Generic audio IIR filter with custom filter kernel",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -111,7 +111,7 @@ gst_audio_invert_class_init (GstAudioInvertClass * klass)
0.0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "Audio inversion",
gst_element_class_set_static_metadata (gstelement_class, "Audio inversion",
"Filter/Effect/Audio",
"Swaps upper and lower half of audio samples",
"Sebastian Dröge <slomo@circular-chaos.org>");
......
......@@ -133,7 +133,7 @@ gst_audio_karaoke_class_init (GstAudioKaraokeClass * klass)
"The Frequency width of the filter", 0.0, 100.0, DEFAULT_FILTER_WIDTH,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "AudioKaraoke",
gst_element_class_set_static_metadata (gstelement_class, "AudioKaraoke",
"Filter/Effect/Audio",
"Removes voice from sound", "Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -206,7 +206,7 @@ gst_audio_panorama_class_init (GstAudioPanoramaClass * klass)
GST_TYPE_AUDIO_PANORAMA_METHOD, METHOD_PSYCHOACOUSTIC,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "Stereo positioning",
gst_element_class_set_static_metadata (gstelement_class, "Stereo positioning",
"Filter/Effect/Audio",
"Positions audio streams in the stereo panorama",
"Stefan Kost <ensonic@users.sf.net>");
......
......@@ -196,7 +196,7 @@ gst_audio_wsincband_class_init (GstAudioWSincBandClass * klass)
WINDOW_HAMMING,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Band pass & band reject filter", "Filter/Effect/Audio",
"Band pass and band reject windowed sinc filter",
"Thomas Vander Stichele <thomas at apestaart dot org>, "
......
......@@ -192,7 +192,7 @@ gst_audio_wsinclimit_class_init (GstAudioWSincLimitClass * klass)
WINDOW_HAMMING,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Low pass & high pass filter", "Filter/Effect/Audio",
"Low pass and high pass windowed sinc filter",
"Thomas Vander Stichele <thomas at apestaart dot org>, "
......
......@@ -126,7 +126,7 @@ gst_aac_parse_class_init (GstAacParseClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"AAC audio stream parser", "Codec/Parser/Audio",
"Advanced Audio Coding parser", "Stefan Kost <stefan.kost@nokia.com>");
......
......@@ -186,7 +186,7 @@ gst_ac3_parse_class_init (GstAc3ParseClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"AC3 audio stream parser", "Codec/Parser/Converter/Audio",
"AC3 parser", "Tim-Philipp Müller <tim centricular net>");
......
......@@ -103,7 +103,7 @@ gst_amr_parse_class_init (GstAmrParseClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"AMR audio stream parser", "Codec/Parser/Audio",
"Adaptive Multi-Rate audio parser",
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
......
......@@ -104,7 +104,7 @@ gst_dca_parse_class_init (GstDcaParseClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"DTS Coherent Acoustics audio stream parser", "Codec/Parser/Audio",
"DCA parser", "Tim-Philipp Müller <tim centricular net>");
}
......
......@@ -242,7 +242,7 @@ gst_flac_parse_class_init (GstFlacParseClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details_simple (element_class, "FLAC audio parser",
gst_element_class_set_static_metadata (element_class, "FLAC audio parser",
"Codec/Parser/Audio",
"Parses audio with the FLAC lossless audio codec",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -181,7 +181,7 @@ gst_mpeg_audio_parse_class_init (GstMpegAudioParseClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (element_class, "MPEG1 Audio Parser",
gst_element_class_set_static_metadata (element_class, "MPEG1 Audio Parser",
"Codec/Parser/Audio",
"Parses and frames mpeg1 audio streams (levels 1-3), provides seek",
"Jan Schmidt <thaytan@mad.scientist.com>,"
......