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

Use new gst_element_class_set_static_metadata()

parent 4d0ff099
......@@ -92,7 +92,7 @@ gst_alsa_mixer_element_class_init (GstAlsaMixerElementClass * klass)
"Human-readable name of the sound device",
DEFAULT_PROP_DEVICE_NAME, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Alsa mixer", "Generic/Audio",
"Control sound input and output levels with ALSA",
"Leif Johnson <leif@ambient.2y.net>");
......
......@@ -153,7 +153,7 @@ gst_alsasink_class_init (GstAlsaSinkClass * klass)
gobject_class->get_property = gst_alsasink_get_property;
gobject_class->set_property = gst_alsasink_set_property;
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Audio sink (ALSA)", "Sink/Audio",
"Output to a sound card via ALSA", "Wim Taymans <wim@fluendo.com>");
......
......@@ -155,7 +155,7 @@ gst_alsasrc_class_init (GstAlsaSrcClass * klass)
gobject_class->get_property = gst_alsasrc_get_property;
gobject_class->set_property = gst_alsasrc_set_property;
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Audio source (ALSA)", "Source/Audio",
"Read from a sound card via ALSA", "Wim Taymans <wim@fluendo.com>");
......
......@@ -127,7 +127,7 @@ gst_cd_paranoia_src_class_init (GstCdParanoiaSrcClass * klass)
gobject_class->get_property = gst_cd_paranoia_src_get_property;
gobject_class->finalize = gst_cd_paranoia_src_finalize;
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"CD Audio (cdda) Source, Paranoia IV", "Source/File",
"Read audio from CD in paranoid mode",
"Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>");
......
......@@ -200,7 +200,7 @@ gst_visual_class_init (gpointer g_class, gpointer class_data)
gst_element_class_add_pad_template (element,
gst_static_pad_template_get (&sink_template));
gst_element_class_set_details_simple (element,
gst_element_class_set_static_metadata (element,
longname, "Visualization",
klass->plugin->info->about, "Benjamin Otte <otte@gnome.org>");
......
......@@ -135,7 +135,7 @@ gst_ogg_avi_parse_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Ogg AVI parser", "Codec/Parser",
"parse an ogg avi stream into pages (info about ogg: http://xiph.org)",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -1948,7 +1948,7 @@ gst_ogg_demux_class_init (GstOggDemuxClass * klass)
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Ogg demuxer", "Codec/Demuxer",
"demux ogg streams (info about ogg: http://xiph.org)",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -170,7 +170,7 @@ gst_ogg_mux_class_init (GstOggMuxClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&subtitle_sink_factory));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Ogg muxer", "Codec/Muxer",
"mux ogg streams (info about ogg: http://xiph.org)",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -220,7 +220,7 @@ gst_ogg_parse_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Ogg parser", "Codec/Parser",
"parse ogg streams into pages (info about ogg: http://xiph.org)",
"Michael Smith <msmith@fluendo.com>");
......
......@@ -276,7 +276,7 @@ gst_ogm_audio_parse_base_init (GstOgmParseClass * klass)
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstCaps *caps = gst_riff_create_audio_template_caps ();
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"OGM audio stream parser", "Codec/Decoder/Audio",
"parse an OGM audio header and stream",
"GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
......@@ -295,7 +295,7 @@ gst_ogm_video_parse_base_init (GstOgmParseClass * klass)
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstCaps *caps = gst_riff_create_video_template_caps ();
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"OGM video stream parser", "Codec/Decoder/Video",
"parse an OGM video header and stream",
"GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
......@@ -314,7 +314,7 @@ gst_ogm_text_parse_base_init (GstOgmParseClass * klass)
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstCaps *caps = gst_caps_new_simple ("text/plain", NULL, NULL);
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"OGM text stream parser", "Codec/Decoder/Subtitle",
"parse an OGM text header and stream",
"GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
......
......@@ -147,7 +147,7 @@ gst_clock_overlay_class_init (GstClockOverlayClass * klass)
gobject_class->set_property = gst_clock_overlay_set_property;
gobject_class->get_property = gst_clock_overlay_get_property;
gst_element_class_set_details_simple (gstelement_class, "Clock overlay",
gst_element_class_set_static_metadata (gstelement_class, "Clock overlay",
"Filter/Editor/Video",
"Overlays the current clock time on a video stream",
"Tim-Philipp Müller <tim@centricular.net>");
......
......@@ -102,7 +102,7 @@ gst_text_overlay_class_init (GstTextOverlayClass * klass)
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>, " "Zeeshan Ali <zeeshan.ali@nokia.com>");
......
......@@ -193,7 +193,7 @@ gst_text_render_class_init (GstTextRenderClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_template_factory));
gst_element_class_set_details_simple (gstelement_class, "Text renderer",
gst_element_class_set_static_metadata (gstelement_class, "Text renderer",
"Filter/Editor/Video",
"Renders a text string to an image bitmap",
"David Schleef <ds@schleef.org>, "
......
......@@ -113,7 +113,7 @@ gst_time_overlay_class_init (GstTimeOverlayClass * klass)
gsttextoverlay_class = (GstBaseTextOverlayClass *) klass;
gstelement_class = (GstElementClass *) klass;
gst_element_class_set_details_simple (gstelement_class, "Time overlay",
gst_element_class_set_static_metadata (gstelement_class, "Time overlay",
"Filter/Editor/Video",
"Overlays buffer time stamps on a video stream",
"Tim-Philipp Müller <tim@centricular.net>");
......
......@@ -175,7 +175,7 @@ gst_theora_dec_class_init (GstTheoraDecClass * klass)
gst_static_pad_template_get (&theora_dec_src_factory));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&theora_dec_sink_factory));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Theora video decoder", "Codec/Decoder/Video",
"decode raw theora streams to raw YUV video",
"Benjamin Otte <otte@gnome.org>, Wim Taymans <wim@fluendo.com>");
......
......@@ -364,7 +364,7 @@ gst_theora_enc_class_init (GstTheoraEncClass * klass)
gst_static_pad_template_get (&theora_enc_src_factory));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&theora_enc_sink_factory));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Theora video encoder", "Codec/Encoder/Video",
"encode raw YUV video to a theora stream",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -143,7 +143,7 @@ gst_theora_parse_class_init (GstTheoraParseClass * klass)
gst_static_pad_template_get (&theora_parse_src_factory));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&theora_parse_sink_factory));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Theora video parser", "Codec/Parser/Video",
"parse raw theora streams", "Andy Wingo <wingo@pobox.com>");
......
......@@ -90,7 +90,7 @@ gst_vorbis_dec_class_init (GstVorbisDecClass * klass)
sink_template = gst_static_pad_template_get (&vorbis_dec_sink_factory);
gst_element_class_add_pad_template (element_class, sink_template);
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Vorbis audio decoder", "Codec/Decoder/Audio",
GST_VORBIS_DEC_DESCRIPTION,
"Benjamin Otte <otte@gnome.org>, Chris Lord <chris@openedhand.com>");
......
......@@ -171,7 +171,7 @@ gst_vorbis_enc_class_init (GstVorbisEncClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&vorbis_enc_sink_factory));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Vorbis audio encoder", "Codec/Encoder/Audio",
"Encodes audio in Vorbis format",
"Monty <monty@xiph.org>, " "Wim Taymans <wim@fluendo.com>");
......
......@@ -99,7 +99,7 @@ gst_vorbis_parse_class_init (GstVorbisParseClass * klass)
gst_static_pad_template_get (&vorbis_parse_src_factory));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&vorbis_parse_sink_factory));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"VorbisParse", "Codec/Parser/Audio",
"parse raw vorbis streams",
"Thomas Vander Stichele <thomas at apestaart dot org>");
......
......@@ -73,7 +73,7 @@ gst_vorbis_tag_class_init (GstVorbisTagClass * klass)
GstVorbisParseClass *vorbisparse_class = GST_VORBIS_PARSE_CLASS (klass);
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"VorbisTag", "Formatter/Metadata",
"Retags vorbis streams", "James Livingston <doclivingston@gmail.com>");
......
......@@ -871,7 +871,7 @@ gst_adder_class_init (GstAdderClass * klass)
gst_static_pad_template_get (&gst_adder_src_template));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_adder_sink_template));
gst_element_class_set_details_simple (gstelement_class, "Adder",
gst_element_class_set_static_metadata (gstelement_class, "Adder",
"Generic/Audio",
"Add N audio channels together",
"Thomas Vander Stichele <thomas at apestaart dot org>");
......
......@@ -201,7 +201,7 @@ gst_audio_convert_class_init (GstAudioConvertClass * klass)
gst_static_pad_template_get (&gst_audio_convert_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_audio_convert_sink_template));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Audio converter", "Filter/Converter/Audio",
"Convert audio to different formats", "Benjamin Otte <otte@gnome.org>");
......
......@@ -183,7 +183,7 @@ gst_audio_rate_class_init (GstAudioRateClass * klass)
"Don't produce buffers before the first one we receive",
DEFAULT_SKIP_TO_FIRST, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Audio rate adjuster", "Filter/Effect/Audio",
"Drops/duplicates/adjusts timestamps on audio samples to make a perfect stream",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -146,7 +146,7 @@ gst_audio_resample_class_init (GstAudioResampleClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_audio_resample_sink_template));
gst_element_class_set_details_simple (gstelement_class, "Audio resampler",
gst_element_class_set_static_metadata (gstelement_class, "Audio resampler",
"Filter/Converter/Audio", "Resamples audio",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -211,7 +211,7 @@ gst_audio_test_src_class_init (GstAudioTestSrcClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_audio_test_src_src_template));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Audio test source", "Source/Audio",
"Creates audio test signals of given frequency and volume",
"Stefan Kost <ensonic@users.sf.net>");
......
......@@ -423,7 +423,7 @@ gst_encode_bin_class_init (GstEncodeBinClass * klass)
gstelement_klass->release_pad =
GST_DEBUG_FUNCPTR (gst_encode_bin_release_pad);
gst_element_class_set_details_simple (gstelement_klass,
gst_element_class_set_static_metadata (gstelement_klass,
"Encoder Bin",
"Generic/Bin/Encoder",
"Convenience encoding/muxing element",
......
......@@ -105,7 +105,7 @@ gst_smart_encoder_class_init (GstSmartEncoderClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
gst_element_class_set_details_simple (element_class, "Smart Video Encoder",
gst_element_class_set_static_metadata (element_class, "Smart Video Encoder",
"Codec/Recoder/Video",
"Re-encodes portions of Video that lay on segment boundaries",
"Edward Hervey <bilboed@gmail.com>");
......
......@@ -72,7 +72,7 @@ gst_stream_combiner_class_init (GstStreamCombinerClass * klass)
gstelement_klass->release_pad =
GST_DEBUG_FUNCPTR (gst_stream_combiner_release_pad);
gst_element_class_set_details_simple (gstelement_klass,
gst_element_class_set_static_metadata (gstelement_klass,
"streamcombiner", "Generic",
"Recombines streams splitted by the streamsplitter element",
"Edward Hervey <edward.hervey@collabora.co.uk>");
......
......@@ -76,7 +76,7 @@ gst_stream_splitter_class_init (GstStreamSplitterClass * klass)
gstelement_klass->release_pad =
GST_DEBUG_FUNCPTR (gst_stream_splitter_release_pad);
gst_element_class_set_details_simple (gstelement_klass,
gst_element_class_set_static_metadata (gstelement_klass,
"streamsplitter", "Generic",
"Splits streams based on their media type",
"Edward Hervey <edward.hervey@collabora.co.uk>");
......
......@@ -91,7 +91,7 @@ gst_gdp_depay_class_init (GstGDPDepayClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"GDP Depayloader", "GDP/Depayloader",
"Depayloads GStreamer Data Protocol buffers",
"Thomas Vander Stichele <thomas at apestaart dot org>");
......
......@@ -119,7 +119,7 @@ gst_gdp_pay_class_init (GstGDPPayClass * klass)
GST_TYPE_DP_VERSION, DEFAULT_VERSION,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"GDP Payloader", "GDP/Payloader",
"Payloads GStreamer Data Protocol buffers",
"Thomas Vander Stichele <thomas at apestaart dot org>");
......
......@@ -131,7 +131,7 @@ gst_gio_sink_class_init (GstGioSinkClass * klass)
g_param_spec_object ("file", "File", "GFile to write to",
G_TYPE_FILE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "GIO sink",
gst_element_class_set_static_metadata (gstelement_class, "GIO sink",
"Sink/File",
"Write to any GIO-supported location",
"Ren\xc3\xa9 Stadler <mail@renestadler.de>, "
......
......@@ -127,7 +127,7 @@ gst_gio_src_class_init (GstGioSrcClass * klass)
g_param_spec_object ("file", "File", "GFile to read from",
G_TYPE_FILE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "GIO source",
gst_element_class_set_static_metadata (gstelement_class, "GIO source",
"Source/File",
"Read from any GIO-supported location",
"Ren\xc3\xa9 Stadler <mail@renestadler.de>, "
......
......@@ -111,7 +111,7 @@ gst_gio_stream_sink_class_init (GstGioStreamSinkClass * klass)
g_param_spec_object ("stream", "Stream", "Stream to write to",
G_TYPE_OUTPUT_STREAM, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "GIO stream sink",
gst_element_class_set_static_metadata (gstelement_class, "GIO stream sink",
"Sink",
"Write to any GIO stream",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -105,7 +105,7 @@ gst_gio_stream_src_class_init (GstGioStreamSrcClass * klass)
g_param_spec_object ("stream", "Stream", "Stream to read from",
G_TYPE_INPUT_STREAM, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, "GIO stream source",
gst_element_class_set_static_metadata (gstelement_class, "GIO stream source",
"Source",
"Read from any GIO stream",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -901,7 +901,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
gst_element_class_add_pad_template (gstelement_klass,
gst_static_pad_template_get (&decoder_bin_src_template));
gst_element_class_set_details_simple (gstelement_klass,
gst_element_class_set_static_metadata (gstelement_klass,
"Decoder Bin", "Generic/Bin/Decoder",
"Autoplug and decode to raw media",
"Edward Hervey <edward.hervey@collabora.co.uk>, "
......
......@@ -1133,7 +1133,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
klass->get_audio_pad = gst_play_bin_get_audio_pad;
klass->get_text_pad = gst_play_bin_get_text_pad;
gst_element_class_set_details_simple (gstelement_klass,
gst_element_class_set_static_metadata (gstelement_klass,
"Player Bin 2", "Generic/Bin/Player",
"Autoplug and play media from an uri",
"Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -554,7 +554,7 @@ gst_play_sink_class_init (GstPlaySinkClass * klass)
gst_static_pad_template_get (&videotemplate));
gst_element_class_add_pad_template (gstelement_klass,
gst_static_pad_template_get (&texttemplate));
gst_element_class_set_details_simple (gstelement_klass, "Player Sink",
gst_element_class_set_static_metadata (gstelement_klass, "Player Sink",
"Generic/Bin/Sink",
"Convenience sink for multiple streams",
"Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -185,7 +185,7 @@ gst_play_sink_audio_convert_class_init (GstPlaySinkAudioConvertClass * klass)
"Whether to use a volume element", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Player Sink Audio Converter", "Audio/Bin/Converter",
"Convenience bin for audio conversion",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -603,7 +603,7 @@ gst_play_sink_convert_bin_class_init (GstPlaySinkConvertBinClass * klass)
gst_static_pad_template_get (&srctemplate));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Player Sink Converter Bin", "Bin/Converter",
"Convenience bin for audio/video conversion",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -196,7 +196,7 @@ gst_play_sink_video_convert_class_init (GstPlaySinkVideoConvertClass * klass)
"Whether to use a videobalance element", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Player Sink Video Converter", "Video/Bin/Converter",
"Convenience bin for video conversion",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -888,7 +888,7 @@ gst_stream_synchronizer_class_init (GstStreamSynchronizerClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sinktemplate));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Stream Synchronizer", "Generic",
"Synchronizes a group of streams to have equal durations and starting points",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -1634,7 +1634,7 @@ gst_subtitle_overlay_class_init (GstSubtitleOverlayClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&subtitle_sinktemplate));
gst_element_class_set_details_simple (element_class, "Subtitle Overlay",
gst_element_class_set_static_metadata (element_class, "Subtitle Overlay",
"Video/Overlay/Subtitle",
"Overlays a video stream with subtitles",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
......@@ -640,7 +640,7 @@ gst_uri_decode_bin_class_init (GstURIDecodeBinClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&srctemplate));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"URI Decoder", "Generic/Bin/Decoder",
"Autoplug and decode an URI to raw media",
"Wim Taymans <wim.taymans@gmail.com>");
......
......@@ -103,7 +103,7 @@ gst_ssa_parse_class_init (GstSsaParseClass * klass)
gst_static_pad_template_get (&sink_templ));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"SSA Subtitle Parser", "Codec/Parser/Subtitle",
"Parses SSA subtitle streams",
"Tim-Philipp Müller <tim centricular net>");
......
......@@ -153,7 +153,7 @@ gst_sub_parse_class_init (GstSubParseClass * klass)
gst_static_pad_template_get (&sink_templ));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_templ));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Subtitle parser", "Codec/Parser/Subtitle",
"Parses subtitle (.sub) files into text streams",
"Gustavo J. A. M. Carneiro <gjc@inescporto.pt>, "
......
......@@ -385,7 +385,7 @@ gst_multi_fd_sink_class_init (GstMultiFdSinkClass * klass)
client_handle_removed), NULL, NULL, gst_tcp_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Multi filedescriptor sink", "Sink/Network",
"Send data to multiple filedescriptors",
"Thomas Vander Stichele <thomas at apestaart dot org>, "
......
......@@ -460,7 +460,7 @@ gst_multi_handle_sink_class_init (GstMultiHandleSinkClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Multi socket sink", "Sink/Network",
"Send data to multiple sockets",
"Thomas Vander Stichele <thomas at apestaart dot org>, "
......
......@@ -599,7 +599,7 @@ gst_multi_output_sink_class_init (GstMultiOutputSinkClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Multi output sink", "Sink/Network",
"Send data to multiple outputs",
"Thomas Vander Stichele <thomas at apestaart dot org>, "
......
......@@ -333,7 +333,7 @@ gst_multi_socket_sink_class_init (GstMultiSocketSinkClass * klass)
client_handle_removed), NULL, NULL, g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE, 1, G_TYPE_SOCKET);
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Multi socket sink", "Sink/Network",
"Send data to multiple sockets",
"Thomas Vander Stichele <thomas at apestaart dot org>, "
......
......@@ -116,7 +116,7 @@ gst_tcp_client_sink_class_init (GstTCPClientSinkClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"TCP client sink", "Sink/Network",
"Send data as a client over the network via TCP",
"Thomas Vander Stichele <thomas at apestaart dot org>");
......
......@@ -112,7 +112,7 @@ gst_tcp_client_src_class_init (GstTCPClientSrcClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&srctemplate));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"TCP client source", "Source/Network",
"Receive data as a client over the network via TCP",
"Thomas Vander Stichele <thomas at apestaart dot org>");
......
......@@ -94,7 +94,7 @@ gst_tcp_server_sink_class_init (GstTCPServerSinkClass * klass)
0, TCP_HIGHEST_PORT, TCP_DEFAULT_PORT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"TCP server sink", "Sink/Network",
"Send data as a server over the network via TCP",
"Thomas Vander Stichele <thomas at apestaart dot org>");
......
......@@ -108,7 +108,7 @@ gst_tcp_server_src_class_init (GstTCPServerSrcClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&srctemplate));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"TCP server source", "Source/Network",
"Receive data as a server over the network via TCP",
"Thomas Vander Stichele <thomas at apestaart dot org>");
......
......@@ -365,7 +365,7 @@ gst_video_convert_class_init (GstVideoConvertClass * klass)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_video_convert_sink_template));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
" Colorspace converter", "Filter/Converter/Video",
"Converts video from one colorspace to another",
"GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
......
......@@ -249,7 +249,7 @@ gst_video_rate_class_init (GstVideoRateClass * klass)
1, G_MAXINT, DEFAULT_MAX_RATE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Video rate adjuster", "Filter/Effect/Video",
"Drops/duplicates/adjusts timestamps on video frames to make a perfect stream",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -247,7 +247,7 @@ gst_video_scale_class_init (GstVideoScaleClass * klass)
"Size of filter envelope", 0.0, 5.0, DEFAULT_PROP_ENVELOPE,
G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (element_class,
gst_element_class_set_static_metadata (element_class,
"Video scaler", "Filter/Converter/Video/Scaler",
"Resizes video", "Wim Taymans <wim.taymans@chello.be>");
......
......@@ -264,7 +264,7 @@ gst_video_test_src_class_init (GstVideoTestSrcClass * klass)
G_MININT32, G_MAXINT32, DEFAULT_HORIZONTAL_SPEED,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Video test source", "Source/Video",
"Creates a test video stream", "David A. Schleef <ds@schleef.org>");
......
......@@ -394,7 +394,7 @@ gst_volume_class_init (GstVolumeClass * klass)
0.0, VOLUME_MAX_DOUBLE, DEFAULT_PROP_VOLUME,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (element_class, "Volume",
gst_element_class_set_static_metadata (element_class, "Volume",
"Filter/Effect/Audio",
"Set volume on audio/raw streams", "Andy Wingo <wingo@pobox.com>");
......
......@@ -1961,7 +1961,7 @@ gst_ximagesink_class_init (GstXImageSinkClass * klass)
"Height of the window", 0, G_MAXUINT64, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Video sink", "Sink/Video",
"A standard X based videosink", "Julien Moutte <julien@moutte.net>");
......
......@@ -2936,7 +2936,7 @@ gst_xvimagesink_class_init (GstXvImageSinkClass * klass)
gobject_class->finalize = gst_xvimagesink_finalize;
gst_element_class_set_details_simple (gstelement_class,
gst_element_class_set_static_metadata (gstelement_class,
"Video sink", "Sink/Video",
"A Xv based videosink", "Julien Moutte <julien@moutte.net>");
......