From 3c6a3ad629f8ecc774ae8f93711069934cec421f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 10 Apr 2012 00:45:16 +0100 Subject: [PATCH] Use new gst_element_class_set_static_metadata() --- ext/alsa/gstalsamixerelement.c | 2 +- ext/alsa/gstalsasink.c | 2 +- ext/alsa/gstalsasrc.c | 2 +- ext/cdparanoia/gstcdparanoiasrc.c | 2 +- ext/libvisual/visual.c | 2 +- ext/ogg/gstoggaviparse.c | 2 +- ext/ogg/gstoggdemux.c | 2 +- ext/ogg/gstoggmux.c | 2 +- ext/ogg/gstoggparse.c | 2 +- ext/ogg/gstogmparse.c | 6 +++--- ext/pango/gstclockoverlay.c | 2 +- ext/pango/gsttextoverlay.c | 2 +- ext/pango/gsttextrender.c | 2 +- ext/pango/gsttimeoverlay.c | 2 +- ext/theora/gsttheoradec.c | 2 +- ext/theora/gsttheoraenc.c | 2 +- ext/theora/gsttheoraparse.c | 2 +- ext/vorbis/gstvorbisdec.c | 2 +- ext/vorbis/gstvorbisenc.c | 2 +- ext/vorbis/gstvorbisparse.c | 2 +- ext/vorbis/gstvorbistag.c | 2 +- gst/adder/gstadder.c | 2 +- gst/audioconvert/gstaudioconvert.c | 2 +- gst/audiorate/gstaudiorate.c | 2 +- gst/audioresample/gstaudioresample.c | 2 +- gst/audiotestsrc/gstaudiotestsrc.c | 2 +- gst/encoding/gstencodebin.c | 2 +- gst/encoding/gstsmartencoder.c | 2 +- gst/encoding/gststreamcombiner.c | 2 +- gst/encoding/gststreamsplitter.c | 2 +- gst/gdp/gstgdpdepay.c | 2 +- gst/gdp/gstgdppay.c | 2 +- gst/gio/gstgiosink.c | 2 +- gst/gio/gstgiosrc.c | 2 +- gst/gio/gstgiostreamsink.c | 2 +- gst/gio/gstgiostreamsrc.c | 2 +- gst/playback/gstdecodebin2.c | 2 +- gst/playback/gstplaybin2.c | 2 +- gst/playback/gstplaysink.c | 2 +- gst/playback/gstplaysinkaudioconvert.c | 2 +- gst/playback/gstplaysinkconvertbin.c | 2 +- gst/playback/gstplaysinkvideoconvert.c | 2 +- gst/playback/gststreamsynchronizer.c | 2 +- gst/playback/gstsubtitleoverlay.c | 2 +- gst/playback/gsturidecodebin.c | 2 +- gst/subparse/gstssaparse.c | 2 +- gst/subparse/gstsubparse.c | 2 +- gst/tcp/gstmultifdsink.c | 2 +- gst/tcp/gstmultihandlesink.c | 2 +- gst/tcp/gstmultioutputsink.c | 2 +- gst/tcp/gstmultisocketsink.c | 2 +- gst/tcp/gsttcpclientsink.c | 2 +- gst/tcp/gsttcpclientsrc.c | 2 +- gst/tcp/gsttcpserversink.c | 2 +- gst/tcp/gsttcpserversrc.c | 2 +- gst/videoconvert/gstvideoconvert.c | 2 +- gst/videorate/gstvideorate.c | 2 +- gst/videoscale/gstvideoscale.c | 2 +- gst/videotestsrc/gstvideotestsrc.c | 2 +- gst/volume/gstvolume.c | 2 +- sys/ximage/ximagesink.c | 2 +- sys/xvimage/xvimagesink.c | 2 +- 62 files changed, 64 insertions(+), 64 deletions(-) diff --git a/ext/alsa/gstalsamixerelement.c b/ext/alsa/gstalsamixerelement.c index 97bc4bdee8..906448f6ad 100644 --- a/ext/alsa/gstalsamixerelement.c +++ b/ext/alsa/gstalsamixerelement.c @@ -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 "); diff --git a/ext/alsa/gstalsasink.c b/ext/alsa/gstalsasink.c index bec7e5c967..08d28be193 100644 --- a/ext/alsa/gstalsasink.c +++ b/ext/alsa/gstalsasink.c @@ -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 "); diff --git a/ext/alsa/gstalsasrc.c b/ext/alsa/gstalsasrc.c index c28fe0fa0e..e0ec4559c1 100644 --- a/ext/alsa/gstalsasrc.c +++ b/ext/alsa/gstalsasrc.c @@ -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 "); diff --git a/ext/cdparanoia/gstcdparanoiasrc.c b/ext/cdparanoia/gstcdparanoiasrc.c index ef43828cd7..f90030bc74 100644 --- a/ext/cdparanoia/gstcdparanoiasrc.c +++ b/ext/cdparanoia/gstcdparanoiasrc.c @@ -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 , Wim Taymans "); diff --git a/ext/libvisual/visual.c b/ext/libvisual/visual.c index 51253e394a..de6aed2087 100644 --- a/ext/libvisual/visual.c +++ b/ext/libvisual/visual.c @@ -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 "); diff --git a/ext/ogg/gstoggaviparse.c b/ext/ogg/gstoggaviparse.c index cd5e95ab37..95a2ae9432 100644 --- a/ext/ogg/gstoggaviparse.c +++ b/ext/ogg/gstoggaviparse.c @@ -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 "); diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index b11910cf8e..bc715ae531 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -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 "); diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 1f59b4175e..29060b80c9 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -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 "); diff --git a/ext/ogg/gstoggparse.c b/ext/ogg/gstoggparse.c index 6a0c9699e9..3c1926eb55 100644 --- a/ext/ogg/gstoggparse.c +++ b/ext/ogg/gstoggparse.c @@ -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 "); diff --git a/ext/ogg/gstogmparse.c b/ext/ogg/gstogmparse.c index 82e75e6542..b8bd212671 100644 --- a/ext/ogg/gstogmparse.c +++ b/ext/ogg/gstogmparse.c @@ -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 "); @@ -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 "); @@ -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 "); diff --git a/ext/pango/gstclockoverlay.c b/ext/pango/gstclockoverlay.c index 4f6c2797f6..dad5d8fc6b 100644 --- a/ext/pango/gstclockoverlay.c +++ b/ext/pango/gstclockoverlay.c @@ -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 "); diff --git a/ext/pango/gsttextoverlay.c b/ext/pango/gsttextoverlay.c index 9f8c7bf3c6..ad918bd8fa 100644 --- a/ext/pango/gsttextoverlay.c +++ b/ext/pango/gsttextoverlay.c @@ -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 , " "Zeeshan Ali "); diff --git a/ext/pango/gsttextrender.c b/ext/pango/gsttextrender.c index 75807b31dc..222c57e811 100644 --- a/ext/pango/gsttextrender.c +++ b/ext/pango/gsttextrender.c @@ -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 , " diff --git a/ext/pango/gsttimeoverlay.c b/ext/pango/gsttimeoverlay.c index cfcbdef47e..b88e89c882 100644 --- a/ext/pango/gsttimeoverlay.c +++ b/ext/pango/gsttimeoverlay.c @@ -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 "); diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c index 9ecef7ce38..5fe8a280c9 100644 --- a/ext/theora/gsttheoradec.c +++ b/ext/theora/gsttheoradec.c @@ -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 , Wim Taymans "); diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index 8fba25bb8c..1d0750671d 100644 --- a/ext/theora/gsttheoraenc.c +++ b/ext/theora/gsttheoraenc.c @@ -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 "); diff --git a/ext/theora/gsttheoraparse.c b/ext/theora/gsttheoraparse.c index a9fedae6fc..efa19abc50 100644 --- a/ext/theora/gsttheoraparse.c +++ b/ext/theora/gsttheoraparse.c @@ -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 "); diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c index b5bcc58276..cb4f725b3a 100644 --- a/ext/vorbis/gstvorbisdec.c +++ b/ext/vorbis/gstvorbisdec.c @@ -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 , Chris Lord "); diff --git a/ext/vorbis/gstvorbisenc.c b/ext/vorbis/gstvorbisenc.c index 71b76a75e5..3ba24d7621 100644 --- a/ext/vorbis/gstvorbisenc.c +++ b/ext/vorbis/gstvorbisenc.c @@ -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 , " "Wim Taymans "); diff --git a/ext/vorbis/gstvorbisparse.c b/ext/vorbis/gstvorbisparse.c index 0d1bea8d5a..5788767c37 100644 --- a/ext/vorbis/gstvorbisparse.c +++ b/ext/vorbis/gstvorbisparse.c @@ -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 "); diff --git a/ext/vorbis/gstvorbistag.c b/ext/vorbis/gstvorbistag.c index 9dd2038602..b60c6656e8 100644 --- a/ext/vorbis/gstvorbistag.c +++ b/ext/vorbis/gstvorbistag.c @@ -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 "); diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 942f943288..930b198453 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -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 "); diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index c9af4ba528..951b4fc2eb 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -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 "); diff --git a/gst/audiorate/gstaudiorate.c b/gst/audiorate/gstaudiorate.c index 8e9498c52a..88a3d5f1ac 100644 --- a/gst/audiorate/gstaudiorate.c +++ b/gst/audiorate/gstaudiorate.c @@ -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 "); diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 1b1e59e35d..22fb7daceb 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -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 "); diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c index f894e95b95..ae9ca1003d 100644 --- a/gst/audiotestsrc/gstaudiotestsrc.c +++ b/gst/audiotestsrc/gstaudiotestsrc.c @@ -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 "); diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index a03eb84e90..3c261a275e 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -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", diff --git a/gst/encoding/gstsmartencoder.c b/gst/encoding/gstsmartencoder.c index 4ff4f4a92f..70507ccfbd 100644 --- a/gst/encoding/gstsmartencoder.c +++ b/gst/encoding/gstsmartencoder.c @@ -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 "); diff --git a/gst/encoding/gststreamcombiner.c b/gst/encoding/gststreamcombiner.c index d49e083761..68dee8bcdc 100644 --- a/gst/encoding/gststreamcombiner.c +++ b/gst/encoding/gststreamcombiner.c @@ -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 "); diff --git a/gst/encoding/gststreamsplitter.c b/gst/encoding/gststreamsplitter.c index 94ebdb67a9..3b99971f8d 100644 --- a/gst/encoding/gststreamsplitter.c +++ b/gst/encoding/gststreamsplitter.c @@ -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 "); diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index 35a5c16102..4d03082e56 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -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 "); diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index 335c984c48..53f0611a7e 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -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 "); diff --git a/gst/gio/gstgiosink.c b/gst/gio/gstgiosink.c index fe7a23f2c5..74c78a12fa 100644 --- a/gst/gio/gstgiosink.c +++ b/gst/gio/gstgiosink.c @@ -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 , " diff --git a/gst/gio/gstgiosrc.c b/gst/gio/gstgiosrc.c index ec9da4033c..93f8ecbfd9 100644 --- a/gst/gio/gstgiosrc.c +++ b/gst/gio/gstgiosrc.c @@ -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 , " diff --git a/gst/gio/gstgiostreamsink.c b/gst/gio/gstgiostreamsink.c index a76a1e213c..b0e8e10cd9 100644 --- a/gst/gio/gstgiostreamsink.c +++ b/gst/gio/gstgiostreamsink.c @@ -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 "); diff --git a/gst/gio/gstgiostreamsrc.c b/gst/gio/gstgiostreamsrc.c index 600f34720b..9b93bd3c7d 100644 --- a/gst/gio/gstgiostreamsrc.c +++ b/gst/gio/gstgiostreamsrc.c @@ -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 "); diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index ffd80d8ea8..46ff1f257c 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -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 , " diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index ef885093eb..9dab999a14 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -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 "); diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 24bca4dd83..c5815575cf 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -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 "); diff --git a/gst/playback/gstplaysinkaudioconvert.c b/gst/playback/gstplaysinkaudioconvert.c index 77504da13f..e7a942df44 100644 --- a/gst/playback/gstplaysinkaudioconvert.c +++ b/gst/playback/gstplaysinkaudioconvert.c @@ -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 "); diff --git a/gst/playback/gstplaysinkconvertbin.c b/gst/playback/gstplaysinkconvertbin.c index a5fcf3f9be..44fe69c0da 100644 --- a/gst/playback/gstplaysinkconvertbin.c +++ b/gst/playback/gstplaysinkconvertbin.c @@ -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 "); diff --git a/gst/playback/gstplaysinkvideoconvert.c b/gst/playback/gstplaysinkvideoconvert.c index 38c8878e64..98bd03a2eb 100644 --- a/gst/playback/gstplaysinkvideoconvert.c +++ b/gst/playback/gstplaysinkvideoconvert.c @@ -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 "); diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c index 3e155d1366..274cf6acd4 100644 --- a/gst/playback/gststreamsynchronizer.c +++ b/gst/playback/gststreamsynchronizer.c @@ -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 "); diff --git a/gst/playback/gstsubtitleoverlay.c b/gst/playback/gstsubtitleoverlay.c index f754bc4bbd..c20bf3ce3f 100644 --- a/gst/playback/gstsubtitleoverlay.c +++ b/gst/playback/gstsubtitleoverlay.c @@ -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 "); diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index d3699044f8..358ab9358c 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -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 "); diff --git a/gst/subparse/gstssaparse.c b/gst/subparse/gstssaparse.c index f77829f89c..bea39b6978 100644 --- a/gst/subparse/gstssaparse.c +++ b/gst/subparse/gstssaparse.c @@ -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 "); diff --git a/gst/subparse/gstsubparse.c b/gst/subparse/gstsubparse.c index 48dc66b8d1..3f4ee18840 100644 --- a/gst/subparse/gstsubparse.c +++ b/gst/subparse/gstsubparse.c @@ -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 , " diff --git a/gst/tcp/gstmultifdsink.c b/gst/tcp/gstmultifdsink.c index 9f187c03c8..2bd610fef3 100644 --- a/gst/tcp/gstmultifdsink.c +++ b/gst/tcp/gstmultifdsink.c @@ -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 , " diff --git a/gst/tcp/gstmultihandlesink.c b/gst/tcp/gstmultihandlesink.c index 1727bc6493..f83130d94a 100644 --- a/gst/tcp/gstmultihandlesink.c +++ b/gst/tcp/gstmultihandlesink.c @@ -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 , " diff --git a/gst/tcp/gstmultioutputsink.c b/gst/tcp/gstmultioutputsink.c index 037b352a4f..f1e2f00273 100644 --- a/gst/tcp/gstmultioutputsink.c +++ b/gst/tcp/gstmultioutputsink.c @@ -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 , " diff --git a/gst/tcp/gstmultisocketsink.c b/gst/tcp/gstmultisocketsink.c index c905521be3..2aac82569b 100644 --- a/gst/tcp/gstmultisocketsink.c +++ b/gst/tcp/gstmultisocketsink.c @@ -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 , " diff --git a/gst/tcp/gsttcpclientsink.c b/gst/tcp/gsttcpclientsink.c index 96b82a2da6..0acb43b411 100644 --- a/gst/tcp/gsttcpclientsink.c +++ b/gst/tcp/gsttcpclientsink.c @@ -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 "); diff --git a/gst/tcp/gsttcpclientsrc.c b/gst/tcp/gsttcpclientsrc.c index 8b99f2a746..1dbc426658 100644 --- a/gst/tcp/gsttcpclientsrc.c +++ b/gst/tcp/gsttcpclientsrc.c @@ -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 "); diff --git a/gst/tcp/gsttcpserversink.c b/gst/tcp/gsttcpserversink.c index b222ccea65..44a3bfd15a 100644 --- a/gst/tcp/gsttcpserversink.c +++ b/gst/tcp/gsttcpserversink.c @@ -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 "); diff --git a/gst/tcp/gsttcpserversrc.c b/gst/tcp/gsttcpserversrc.c index 1abe1bdaf4..ab4fa4fc6b 100644 --- a/gst/tcp/gsttcpserversrc.c +++ b/gst/tcp/gsttcpserversrc.c @@ -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 "); diff --git a/gst/videoconvert/gstvideoconvert.c b/gst/videoconvert/gstvideoconvert.c index 1ccb87ef90..74e96fb45f 100644 --- a/gst/videoconvert/gstvideoconvert.c +++ b/gst/videoconvert/gstvideoconvert.c @@ -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 "); diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c index 41d0ac692f..9f1fbb7752 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -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 "); diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index f3627bd2f1..6f5347332e 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -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 "); diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index 69253de2f7..01bff7fc69 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -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 "); diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index 8a639cde36..aaf54dcdc3 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -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 "); diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index cdc879040b..92837eadaf 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -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 "); diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 10fe8fd239..a0a933dc33 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -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 ");