diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-10-17 17:34:26 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-10-17 17:46:34 +0100 |
commit | 32ba17cd0f37d407ab810858f356de386c50b7b9 (patch) | |
tree | 794351ffb8e0c764d1896ee9a505b76616738719 /gst | |
parent | a7258842ab7a68514011298c1038cca5c6e1f9a5 (diff) | |
download | gstreamer-plugins-bad-32ba17cd0f37d407ab810858f356de386c50b7b9.tar.gz |
Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
Diffstat (limited to 'gst')
142 files changed, 145 insertions, 146 deletions
diff --git a/gst/adpcmdec/adpcmdec.c b/gst/adpcmdec/adpcmdec.c index 0404e09f9..9788bdce6 100644 --- a/gst/adpcmdec/adpcmdec.c +++ b/gst/adpcmdec/adpcmdec.c @@ -467,7 +467,7 @@ adpcmdec_class_init (ADPCMDecClass * klass) gst_static_pad_template_get (&adpcmdec_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&adpcmdec_src_template)); - gst_element_class_set_metadata (element_class, "ADPCM decoder", + gst_element_class_set_static_metadata (element_class, "ADPCM decoder", "Codec/Decoder/Audio", "Decode MS and IMA ADPCM audio", "Pioneers of the Inevitable <songbird@songbirdnest.com>"); diff --git a/gst/adpcmenc/adpcmenc.c b/gst/adpcmenc/adpcmenc.c index ce6b9e65f..4f0b73f00 100644 --- a/gst/adpcmenc/adpcmenc.c +++ b/gst/adpcmenc/adpcmenc.c @@ -439,7 +439,7 @@ adpcmenc_class_init (ADPCMEncClass * klass) gst_static_pad_template_get (&adpcmenc_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&adpcmenc_src_template)); - gst_element_class_set_metadata (element_class, "ADPCM encoder", + gst_element_class_set_static_metadata (element_class, "ADPCM encoder", "Codec/Encoder/Audio", "Encode ADPCM audio", "Pioneers of the Inevitable <songbird@songbirdnest.com>"); diff --git a/gst/aiff/aiffmux.c b/gst/aiff/aiffmux.c index eca416307..4a5c1ce35 100644 --- a/gst/aiff/aiffmux.c +++ b/gst/aiff/aiffmux.c @@ -106,7 +106,7 @@ gst_aiff_mux_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "AIFF audio muxer", "Muxer/Audio", "Multiplex raw audio into AIFF", "Robert Swain <robert.swain@gmail.com>"); diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c index 71d24d5d5..1182f3c28 100644 --- a/gst/aiff/aiffparse.c +++ b/gst/aiff/aiffparse.c @@ -115,7 +115,7 @@ gst_aiff_parse_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "AIFF audio demuxer", "Codec/Demuxer/Audio", "Parse a .aiff file into raw audio", "Pioneers of the Inevitable <songbird@songbirdnest.com>"); diff --git a/gst/asfmux/gstasfmux.c b/gst/asfmux/gstasfmux.c index f58e6c913..3b340259d 100644 --- a/gst/asfmux/gstasfmux.c +++ b/gst/asfmux/gstasfmux.c @@ -277,7 +277,7 @@ gst_asf_mux_class_init (GstAsfMuxClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&video_sink_factory)); - gst_element_class_set_metadata (gstelement_class, "ASF muxer", + gst_element_class_set_static_metadata (gstelement_class, "ASF muxer", "Codec/Muxer", "Muxes audio and video into an ASF stream", "Thiago Santos <thiagoss@embedded.ufcg.edu.br>"); diff --git a/gst/asfmux/gstasfparse.c b/gst/asfmux/gstasfparse.c index 0b393bfd0..529c7a85a 100644 --- a/gst/asfmux/gstasfparse.c +++ b/gst/asfmux/gstasfparse.c @@ -545,7 +545,7 @@ gst_asf_parse_class_init (GstAsfParseClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, "ASF parser", + gst_element_class_set_static_metadata (gstelement_class, "ASF parser", "Parser", "Parses ASF", "Thiago Santos <thiagoss@embedded.ufcg.edu.br>"); GST_DEBUG_CATEGORY_INIT (asfparse_debug, "asfparse", 0, diff --git a/gst/asfmux/gstrtpasfpay.c b/gst/asfmux/gstrtpasfpay.c index 797071fa4..5cc3f0a77 100644 --- a/gst/asfmux/gstrtpasfpay.c +++ b/gst/asfmux/gstrtpasfpay.c @@ -100,7 +100,7 @@ gst_rtp_asf_pay_class_init (GstRtpAsfPayClass * klass) gst_static_pad_template_get (&gst_rtp_asf_pay_sink_template)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_rtp_asf_pay_src_template)); - gst_element_class_set_metadata (gstelement_class, "RTP ASF payloader", + gst_element_class_set_static_metadata (gstelement_class, "RTP ASF payloader", "Codec/Payloader/Network", "Payload-encodes ASF into RTP packets (MS_RTSP)", "Thiago Santos <thiagoss@embedded.ufcg.edu.br>"); diff --git a/gst/audiobuffer/gstaudioringbuffer.c b/gst/audiobuffer/gstaudioringbuffer.c index 6ca6cbac1..5e86f2189 100644 --- a/gst/audiobuffer/gstaudioringbuffer.c +++ b/gst/audiobuffer/gstaudioringbuffer.c @@ -325,7 +325,7 @@ gst_audio_ringbuffer_class_init (GstAudioRingbufferClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (gstelement_class, "AudioRingbuffer", + gst_element_class_set_static_metadata (gstelement_class, "AudioRingbuffer", "Generic", "Asynchronous Audio ringbuffer", "Wim Taymans <wim.taymans@gmail.com>"); diff --git a/gst/audiovisualizers/gstspacescope.c b/gst/audiovisualizers/gstspacescope.c index 355d75d9b..68e990e1c 100644 --- a/gst/audiovisualizers/gstspacescope.c +++ b/gst/audiovisualizers/gstspacescope.c @@ -126,7 +126,7 @@ gst_space_scope_class_init (GstSpaceScopeClass * g_class) GstElementClass *element_class = (GstElementClass *) g_class; GstAudioVisualizerClass *scope_class = (GstAudioVisualizerClass *) g_class; - gst_element_class_set_metadata (element_class, "Stereo visualizer", + gst_element_class_set_static_metadata (element_class, "Stereo visualizer", "Visualization", "Simple stereo visualizer", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/gst/audiovisualizers/gstspectrascope.c b/gst/audiovisualizers/gstspectrascope.c index 10328e39d..d4082981e 100644 --- a/gst/audiovisualizers/gstspectrascope.c +++ b/gst/audiovisualizers/gstspectrascope.c @@ -82,7 +82,7 @@ gst_spectra_scope_class_init (GstSpectraScopeClass * g_class) gobject_class->finalize = gst_spectra_scope_finalize; - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Frequency spectrum scope", "Visualization", "Simple frequency spectrum scope", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/gst/audiovisualizers/gstsynaescope.c b/gst/audiovisualizers/gstsynaescope.c index ba0592f67..abd5f85e7 100644 --- a/gst/audiovisualizers/gstsynaescope.c +++ b/gst/audiovisualizers/gstsynaescope.c @@ -81,7 +81,7 @@ gst_synae_scope_class_init (GstSynaeScopeClass * g_class) gobject_class->finalize = gst_synae_scope_finalize; - gst_element_class_set_metadata (element_class, "Synaescope", + gst_element_class_set_static_metadata (element_class, "Synaescope", "Visualization", "Creates video visualizations of audio input, using stereo and pitch information", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/gst/audiovisualizers/gstwavescope.c b/gst/audiovisualizers/gstwavescope.c index dfa17d9d6..d71e8738d 100644 --- a/gst/audiovisualizers/gstwavescope.c +++ b/gst/audiovisualizers/gstwavescope.c @@ -141,7 +141,7 @@ gst_wave_scope_class_init (GstWaveScopeClass * g_class) GST_TYPE_WAVE_SCOPE_STYLE, STYLE_DOTS, G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Waveform oscilloscope", "Visualization", "Simple waveform oscilloscope", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/gst/autoconvert/gstautoconvert.c b/gst/autoconvert/gstautoconvert.c index 5b11042a6..ae0170d5f 100644 --- a/gst/autoconvert/gstautoconvert.c +++ b/gst/autoconvert/gstautoconvert.c @@ -160,7 +160,7 @@ gst_auto_convert_class_init (GstAutoConvertClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Select convertor based on caps", "Generic/Bin", "Selects the right transform element based on the caps", "Olivier Crete <olivier.crete@collabora.com>"); diff --git a/gst/autoconvert/gstautovideoconvert.c b/gst/autoconvert/gstautovideoconvert.c index 84177ee9a..00dc15b3e 100644 --- a/gst/autoconvert/gstautovideoconvert.c +++ b/gst/autoconvert/gstautovideoconvert.c @@ -145,7 +145,7 @@ gst_auto_video_convert_class_init (GstAutoVideoConvertClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Select color space convertor based on caps", "Generic/Bin", "Selects the right color space convertor based on the caps", "Benjamin Gaignard <benjamin.gaignard@stericsson.com>"); diff --git a/gst/bayer/gstbayer2rgb.c b/gst/bayer/gstbayer2rgb.c index 35a3e7263..53417733d 100644 --- a/gst/bayer/gstbayer2rgb.c +++ b/gst/bayer/gstbayer2rgb.c @@ -169,7 +169,7 @@ gst_bayer2rgb_class_init (GstBayer2RGBClass * klass) gobject_class->set_property = gst_bayer2rgb_set_property; gobject_class->get_property = gst_bayer2rgb_get_property; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Bayer to RGB decoder for cameras", "Filter/Converter/Video", "Converts video/x-bayer to video/x-raw", "William Brack <wbrack@mmm.com.hk>"); diff --git a/gst/bayer/gstrgb2bayer.c b/gst/bayer/gstrgb2bayer.c index 6810069a2..4cb330315 100644 --- a/gst/bayer/gstrgb2bayer.c +++ b/gst/bayer/gstrgb2bayer.c @@ -92,7 +92,7 @@ gst_rgb2bayer_class_init (GstRGB2BayerClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rgb2bayer_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "RGB to Bayer converter", "Filter/Converter/Video", "Converts video/x-raw to video/x-bayer", diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 53a4e1c0f..2550def43 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -617,7 +617,7 @@ gst_camera_bin_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Camera Bin", + gst_element_class_set_static_metadata (element_class, "Camera Bin", "Generic/Bin/Camera", "Take image snapshots and record movies from camera", "Thiago Santos <thiago.sousa.santos@collabora.co.uk>"); diff --git a/gst/camerabin2/gstviewfinderbin.c b/gst/camerabin2/gstviewfinderbin.c index a5fb76076..c2580f628 100644 --- a/gst/camerabin2/gstviewfinderbin.c +++ b/gst/camerabin2/gstviewfinderbin.c @@ -125,7 +125,7 @@ gst_viewfinder_bin_class_init (GstViewfinderBinClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, "Viewfinder Bin", + gst_element_class_set_static_metadata (element_class, "Viewfinder Bin", "Sink/Video", "Viewfinder Bin used in camerabin2", "Thiago Santos <thiago.sousa.santos@collabora.com>"); } diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c index 3c70bfbe4..002b7e596 100644 --- a/gst/camerabin2/gstwrappercamerabinsrc.c +++ b/gst/camerabin2/gstwrappercamerabinsrc.c @@ -1231,7 +1231,7 @@ gst_wrapper_camera_bin_src_class_init (GstWrapperCameraBinSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&vidsrc_template)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Wrapper camera src element for camerabin2", "Source/Video", "Wrapper camera src element for camerabin2", "Thiago Santos <thiago.sousa.santos@collabora.com>"); diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c index ffecf975c..106c9e93a 100644 --- a/gst/cdxaparse/gstcdxaparse.c +++ b/gst/cdxaparse/gstcdxaparse.c @@ -70,7 +70,7 @@ gst_cdxa_parse_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "(S)VCD parser", + gst_element_class_set_static_metadata (element_class, "(S)VCD parser", "Codec/Parser", "Parse a .dat file from (S)VCD into raw MPEG-1", "Wim Taymans <wim.taymans@tvd.be>"); diff --git a/gst/cdxaparse/gstvcdparse.c b/gst/cdxaparse/gstvcdparse.c index 497eae224..8b19eac5b 100644 --- a/gst/cdxaparse/gstvcdparse.c +++ b/gst/cdxaparse/gstvcdparse.c @@ -60,7 +60,7 @@ gst_vcd_parse_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_factory)); - gst_element_class_set_metadata (element_class, "(S)VCD stream parser", + gst_element_class_set_static_metadata (element_class, "(S)VCD stream parser", "Codec/Parser", "Strip (S)VCD stream from its sync headers", "Tim-Philipp Müller <tim centricular net>, " "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/gst/coloreffects/gstchromahold.c b/gst/coloreffects/gstchromahold.c index baf24be02..ffe1e173c 100644 --- a/gst/coloreffects/gstchromahold.c +++ b/gst/coloreffects/gstchromahold.c @@ -154,7 +154,7 @@ gst_chroma_hold_class_init (GstChromaHoldClass * klass) GST_DEBUG_FUNCPTR (gst_chroma_hold_transform_frame_ip); vfilter_class->set_info = GST_DEBUG_FUNCPTR (gst_chroma_hold_set_info); - gst_element_class_set_metadata (gstelement_class, "Chroma hold filter", + gst_element_class_set_static_metadata (gstelement_class, "Chroma hold filter", "Filter/Effect/Video", "Removes all color information except for one color", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/gst/coloreffects/gstcoloreffects.c b/gst/coloreffects/gstcoloreffects.c index a4c0e8d04..011eef81e 100644 --- a/gst/coloreffects/gstcoloreffects.c +++ b/gst/coloreffects/gstcoloreffects.c @@ -585,7 +585,7 @@ gst_color_effects_class_init (GstColorEffectsClass * klass) vfilter_class->transform_frame_ip = GST_DEBUG_FUNCPTR (gst_color_effects_transform_frame_ip); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Color Look-up Table filter", "Filter/Effect/Video", "Color Look-up Table filter", "Filippo Argiolas <filippo.argiolas@gmail.com>"); diff --git a/gst/dataurisrc/gstdataurisrc.c b/gst/dataurisrc/gstdataurisrc.c index 2c80a6c4f..4b1455821 100644 --- a/gst/dataurisrc/gstdataurisrc.c +++ b/gst/dataurisrc/gstdataurisrc.c @@ -101,7 +101,7 @@ gst_data_uri_src_class_init (GstDataURISrcClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "data: URI source element", "Source", "Handles data: uris", "Philippe Normand <pnormand@igalia.com>, " "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/gst/dccp/gstdccpclientsink.c b/gst/dccp/gstdccpclientsink.c index f680e12df..2553a3176 100644 --- a/gst/dccp/gstdccpclientsink.c +++ b/gst/dccp/gstdccpclientsink.c @@ -242,7 +242,7 @@ gst_dccp_client_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (element_class, "DCCP client sink", + gst_element_class_set_static_metadata (element_class, "DCCP client sink", "Sink/Network", "Send data as a client over the network via DCCP", "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>"); diff --git a/gst/dccp/gstdccpclientsrc.c b/gst/dccp/gstdccpclientsrc.c index 24c49b8c5..8f1da06cc 100644 --- a/gst/dccp/gstdccpclientsrc.c +++ b/gst/dccp/gstdccpclientsrc.c @@ -275,7 +275,7 @@ gst_dccp_client_src_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&srctemplate)); - gst_element_class_set_metadata (element_class, "DCCP client source", + gst_element_class_set_static_metadata (element_class, "DCCP client source", "Source/Network", "Receive data as a client over the network via DCCP", "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>"); diff --git a/gst/dccp/gstdccpserversink.c b/gst/dccp/gstdccpserversink.c index ac39bb852..37157ecfb 100644 --- a/gst/dccp/gstdccpserversink.c +++ b/gst/dccp/gstdccpserversink.c @@ -339,7 +339,7 @@ gst_dccp_server_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (element_class, "DCCP server sink", + gst_element_class_set_static_metadata (element_class, "DCCP server sink", "Sink/Network", "Send data as a server over the network via DCCP", "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>"); diff --git a/gst/dccp/gstdccpserversrc.c b/gst/dccp/gstdccpserversrc.c index 512d88835..1cbaecbb1 100644 --- a/gst/dccp/gstdccpserversrc.c +++ b/gst/dccp/gstdccpserversrc.c @@ -265,7 +265,7 @@ gst_dccp_server_src_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&srctemplate)); - gst_element_class_set_metadata (element_class, "DCCP server source", + gst_element_class_set_static_metadata (element_class, "DCCP server source", "Source/Network", "Receive data as a server over the network via DCCP", "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>"); diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index d3b009a30..4a435154c 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -207,7 +207,7 @@ fps_display_sink_class_init (GstFPSDisplaySinkClass * klass) gst_element_class_add_pad_template (gstelement_klass, gst_static_pad_template_get (&fps_display_sink_template)); - gst_element_class_set_metadata (gstelement_klass, + gst_element_class_set_static_metadata (gstelement_klass, "Measure and show framerate on videosink", "Sink/Video", "Shows the current frame-rate and drop-rate of the videosink as overlay or text on stdout", "Zeeshan Ali <zeeshan.ali@nokia.com>, Stefan Kost <stefan.kost@nokia.com>"); diff --git a/gst/debugutils/gstchecksumsink.c b/gst/debugutils/gstchecksumsink.c index bce8d4b4b..90528bf3b 100644 --- a/gst/debugutils/gstchecksumsink.c +++ b/gst/debugutils/gstchecksumsink.c @@ -68,7 +68,7 @@ gst_checksum_sink_class_init (GstChecksumSinkClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_checksum_sink_sink_template)); - gst_element_class_set_metadata (element_class, "Checksum sink", + gst_element_class_set_static_metadata (element_class, "Checksum sink", "Debug/Sink", "Calculates a checksum for buffers", "David Schleef <ds@schleef.org>"); } diff --git a/gst/debugutils/gstchopmydata.c b/gst/debugutils/gstchopmydata.c index d91c40821..739ea72a9 100644 --- a/gst/debugutils/gstchopmydata.c +++ b/gst/debugutils/gstchopmydata.c @@ -126,7 +126,7 @@ gst_chop_my_data_class_init (GstChopMyDataClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_chop_my_data_sink_template)); - gst_element_class_set_metadata (element_class, "FIXME", + gst_element_class_set_static_metadata (element_class, "FIXME", "Generic", "FIXME", "David Schleef <ds@schleef.org>"); } diff --git a/gst/debugutils/gstcompare.c b/gst/debugutils/gstcompare.c index 2581a3ca2..a6f51a7a8 100644 --- a/gst/debugutils/gstcompare.c +++ b/gst/debugutils/gstcompare.c @@ -176,7 +176,7 @@ gst_compare_class_init (GstCompareClass * klass) gst_static_pad_template_get (&sink_factory)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&check_sink_factory)); - gst_element_class_set_metadata (gstelement_class, "Compare buffers", + gst_element_class_set_static_metadata (gstelement_class, "Compare buffers", "Filter/Debug", "Compares incoming buffers", "Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>"); } diff --git a/gst/debugutils/gstdebugspy.c b/gst/debugutils/gstdebugspy.c index 413853c25..21c1609e9 100644 --- a/gst/debugutils/gstdebugspy.c +++ b/gst/debugutils/gstdebugspy.c @@ -133,7 +133,7 @@ gst_debug_spy_class_init (GstDebugSpyClass * klass) "Checksum algorithm to use", GST_DEBUG_SPY_CHECKSUM_TYPE, G_CHECKSUM_SHA1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "DebugSpy", "Filter/Analyzer/Debug", "DebugSpy provides information on buffers with bus messages", diff --git a/gst/dtmf/gstdtmfdetect.c b/gst/dtmf/gstdtmfdetect.c index 073959ec2..827e68d3c 100644 --- a/gst/dtmf/gstdtmfdetect.c +++ b/gst/dtmf/gstdtmfdetect.c @@ -123,8 +123,8 @@ gst_dtmf_detect_class_init (GstDtmfDetectClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (gstelement_class, "DTMF detector element", - "Filter/Analyzer/Audio", + gst_element_class_set_static_metadata (gstelement_class, + "DTMF detector element", "Filter/Analyzer/Audio", "This element detects DTMF tones", "Olivier Crete <olivier.crete@collabora.com>"); diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index 18c7ebb6a..df45223ca 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -253,9 +253,8 @@ gst_dtmf_src_class_init (GstDTMFSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_dtmf_src_template)); - gst_element_class_set_metadata (gstelement_class, "DTMF tone generator", - "Source/Audio", - "Generates DTMF tones", + gst_element_class_set_static_metadata (gstelement_class, + "DTMF tone generator", "Source/Audio", "Generates DTMF tones", "Youness Alaoui <youness.alaoui@collabora.co.uk>"); diff --git a/gst/dtmf/gstrtpdtmfdepay.c b/gst/dtmf/gstrtpdtmfdepay.c index 12422ecb2..74df649f2 100644 --- a/gst/dtmf/gstrtpdtmfdepay.c +++ b/gst/dtmf/gstrtpdtmfdepay.c @@ -228,7 +228,7 @@ gst_rtp_dtmf_depay_class_init (GstRtpDTMFDepayClass * klass) GST_DEBUG_CATEGORY_INIT (gst_rtp_dtmf_depay_debug, "rtpdtmfdepay", 0, "rtpdtmfdepay element"); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "RTP DTMF packet depayloader", "Codec/Depayloader/Network", "Generates DTMF Sound from telephone-event RTP packets", "Youness Alaoui <youness.alaoui@collabora.co.uk>"); diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c index a078a111d..be71ebd4e 100644 --- a/gst/dtmf/gstrtpdtmfsrc.c +++ b/gst/dtmf/gstrtpdtmfsrc.c @@ -216,7 +216,7 @@ gst_rtp_dtmf_src_class_init (GstRTPDTMFSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_rtp_dtmf_src_template)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "RTP DTMF packet generator", "Source/Network", "Generates RTP DTMF packets", "Zeeshan Ali <zeeshan.ali@nokia.com>"); diff --git a/gst/dvbsuboverlay/gstdvbsuboverlay.c b/gst/dvbsuboverlay/gstdvbsuboverlay.c index e6241f0db..3f4aaff17 100644 --- a/gst/dvbsuboverlay/gstdvbsuboverlay.c +++ b/gst/dvbsuboverlay/gstdvbsuboverlay.c @@ -158,7 +158,7 @@ gst_dvbsub_overlay_class_init (GstDVBSubOverlayClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&text_sink_factory)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "DVB Subtitles Overlay", "Mixer/Video/Overlay/Subtitle", "Renders DVB subtitles", "Mart Raudsepp <mart.raudsepp@collabora.co.uk>"); diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index b64cbd3a7..7af060897 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -147,8 +147,8 @@ gst_dvd_spu_class_init (GstDVDSpuClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&subpic_sink_factory)); - gst_element_class_set_metadata (gstelement_class, "Sub-picture Overlay", - "Mixer/Video/Overlay/SubPicture/DVD/Bluray", + gst_element_class_set_static_metadata (gstelement_class, + "Sub-picture Overlay", "Mixer/Video/Overlay/SubPicture/DVD/Bluray", "Parses Sub-Picture command streams and renders the SPU overlay " "onto the video as it passes through", "Jan Schmidt <thaytan@noraisin.net>"); diff --git a/gst/faceoverlay/gstfaceoverlay.c b/gst/faceoverlay/gstfaceoverlay.c index 967787a96..0c0de837c 100644 --- a/gst/faceoverlay/gstfaceoverlay.c +++ b/gst/faceoverlay/gstfaceoverlay.c @@ -280,7 +280,7 @@ gst_face_overlay_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "faceoverlay", "Filter/Editor/Video", "Overlays SVG graphics over a detected face in a video stream", diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index 0699fc4db..d379c8306 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -168,7 +168,7 @@ G_DEFINE_TYPE (GstFestival, gst_festival, GST_TYPE_ELEMENT) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&src_template_factory)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Festival Text-to-Speech synthesizer", "Filter/Effect/Audio", "Synthesizes plain text into audio", "Wim Taymans <wim.taymans@gmail.com>"); diff --git a/gst/fieldanalysis/gstfieldanalysis.c b/gst/fieldanalysis/gstfieldanalysis.c index bc4800fe8..0514747be 100644 --- a/gst/fieldanalysis/gstfieldanalysis.c +++ b/gst/fieldanalysis/gstfieldanalysis.c @@ -278,7 +278,7 @@ gst_field_analysis_class_init (GstFieldAnalysisClass * klass) gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_field_analysis_change_state); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Video field analysis", "Filter/Analysis/Video", "Analyse fields from video frames to identify if they are progressive/telecined/interlaced", diff --git a/gst/freeverb/gstfreeverb.c b/gst/freeverb/gstfreeverb.c index 561306fa4..b94d9ee4f 100644 --- a/gst/freeverb/gstfreeverb.c +++ b/gst/freeverb/gstfreeverb.c @@ -408,7 +408,7 @@ gst_freeverb_base_init (gpointer klass) gst_static_pad_template_get (&src_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, "Stereo positioning", + gst_element_class_set_static_metadata (element_class, "Stereo positioning", "Filter/Effect/Audio", "Reverberation/room effect", "Stefan Sauer <ensonic@users.sf.net>"); } diff --git a/gst/games/gstpuzzle.c b/gst/games/gstpuzzle.c index 4f41323b9..e458072d3 100644 --- a/gst/games/gstpuzzle.c +++ b/gst/games/gstpuzzle.c @@ -126,7 +126,7 @@ gst_puzzle_base_init (gpointer g_class) int i; GstVideofilterFormat *f; - gst_element_class_set_metadata (element_class, "A simple puzzle", + gst_element_class_set_static_metadata (element_class, "A simple puzzle", "Filter/Effect/Video/Games", "A simple puzzle, use arrow keys and space to restart/solve", "Benjamin Otte <otte@gnome.org>"); diff --git a/gst/gaudieffects/gstburn.c b/gst/gaudieffects/gstburn.c index 4fa8e1add..d8cb35aeb 100644 --- a/gst/gaudieffects/gstburn.c +++ b/gst/gaudieffects/gstburn.c @@ -134,7 +134,7 @@ gst_burn_class_init (GstBurnClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, "Burn", + gst_element_class_set_static_metadata (gstelement_class, "Burn", "Filter/Effect/Video", "Burn adjusts the colors in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); diff --git a/gst/gaudieffects/gstchromium.c b/gst/gaudieffects/gstchromium.c index b4f217761..0aba0eae2 100644 --- a/gst/gaudieffects/gstchromium.c +++ b/gst/gaudieffects/gstchromium.c @@ -148,7 +148,7 @@ gst_chromium_class_init (GstChromiumClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, "Chromium", + gst_element_class_set_static_metadata (gstelement_class, "Chromium", "Filter/Effect/Video", "Chromium breaks the colors of the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index 090df1750..ab827b47b 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -135,7 +135,7 @@ gst_dilate_class_init (GstDilateClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Dilate", "Filter/Effect/Video", "Dilate copies the brightest pixel around.", diff --git a/gst/gaudieffects/gstdodge.c b/gst/gaudieffects/gstdodge.c index 3a5b9f0e9..6847c3337 100644 --- a/gst/gaudieffects/gstdodge.c +++ b/gst/gaudieffects/gstdodge.c @@ -130,7 +130,7 @@ gst_dodge_class_init (GstDodgeClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Dodge", "Filter/Effect/Video", "Dodge saturates the colors in the video signal.", diff --git a/gst/gaudieffects/gstexclusion.c b/gst/gaudieffects/gstexclusion.c index f3c670ef5..d2b8330c4 100644 --- a/gst/gaudieffects/gstexclusion.c +++ b/gst/gaudieffects/gstexclusion.c @@ -136,7 +136,7 @@ gst_exclusion_class_init (GstExclusionClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, "Exclusion", + gst_element_class_set_static_metadata (gstelement_class, "Exclusion", "Filter/Effect/Video", "Exclusion exclodes the colors in the video signal.", "Luis de Bethencourt <luis@debethencourt.com>"); diff --git a/gst/gaudieffects/gstgaussblur.c b/gst/gaudieffects/gstgaussblur.c index a0f8b5bd8..34b8dbe24 100644 --- a/gst/gaudieffects/gstgaussblur.c +++ b/gst/gaudieffects/gstgaussblur.c @@ -132,7 +132,7 @@ gst_gaussianblur_class_init (GstGaussianBlurClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "GstGaussianBlur", "Filter/Effect/Video", "Perform Gaussian blur/sharpen on a video", diff --git a/gst/gaudieffects/gstsolarize.c b/gst/gaudieffects/gstsolarize.c index 561fc4c3b..26e53ae34 100644 --- a/gst/gaudieffects/gstsolarize.c +++ b/gst/gaudieffects/gstsolarize.c @@ -138,7 +138,7 @@ gst_solarize_class_init (GstSolarizeClass * klass) GstElementClass *gstelement_class = (GstElementClass *) klass; GstVideoFilterClass *vfilter_class = (GstVideoFilterClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Solarize", "Filter/Effect/Video", "Solarize tunable inverse in the video signal.", diff --git a/gst/geometrictransform/gstbulge.c b/gst/geometrictransform/gstbulge.c index b26b6ade1..cd96a5e55 100644 --- a/gst/geometrictransform/gstbulge.c +++ b/gst/geometrictransform/gstbulge.c @@ -176,7 +176,7 @@ gst_bulge_class_init (GstBulgeClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "bulge", "Transform/Effect/Video", "Adds a protuberance in the center point", diff --git a/gst/geometrictransform/gstcircle.c b/gst/geometrictransform/gstcircle.c index b5b32837a..e31923f87 100644 --- a/gst/geometrictransform/gstcircle.c +++ b/gst/geometrictransform/gstcircle.c @@ -191,7 +191,7 @@ gst_circle_class_init (GstCircleClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "circle", "Transform/Effect/Video", "Warps the picture into an arc shaped form", diff --git a/gst/geometrictransform/gstdiffuse.c b/gst/geometrictransform/gstdiffuse.c index 547f655c8..dcbea7b79 100644 --- a/gst/geometrictransform/gstdiffuse.c +++ b/gst/geometrictransform/gstdiffuse.c @@ -184,7 +184,7 @@ gst_diffuse_class_init (GstDiffuseClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "diffuse", "Transform/Effect/Video", "Diffuses the image by moving its pixels in random directions", diff --git a/gst/geometrictransform/gstfisheye.c b/gst/geometrictransform/gstfisheye.c index 910cdb27e..bda896db7 100644 --- a/gst/geometrictransform/gstfisheye.c +++ b/gst/geometrictransform/gstfisheye.c @@ -116,7 +116,7 @@ gst_fisheye_class_init (GstFisheyeClass * klass) gstgt_class = (GstGeometricTransformClass *) klass; parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "fisheye", "Transform/Effect/Video", "Split the image into two halves and reflect one over each other", diff --git a/gst/geometrictransform/gstkaleidoscope.c b/gst/geometrictransform/gstkaleidoscope.c index 482ca26a0..2a50379a1 100644 --- a/gst/geometrictransform/gstkaleidoscope.c +++ b/gst/geometrictransform/gstkaleidoscope.c @@ -196,7 +196,7 @@ gst_kaleidoscope_class_init (GstKaleidoscopeClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "kaleidoscope", "Transform/Effect/Video", "Applies 'kaleidoscope' geometric transform to the image", diff --git a/gst/geometrictransform/gstmarble.c b/gst/geometrictransform/gstmarble.c index 3f861a2ca..299fdb0fd 100644 --- a/gst/geometrictransform/gstmarble.c +++ b/gst/geometrictransform/gstmarble.c @@ -223,7 +223,7 @@ gst_marble_class_init (GstMarbleClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "marble", "Transform/Effect/Video", "Applies a marbling effect to the image", diff --git a/gst/geometrictransform/gstmirror.c b/gst/geometrictransform/gstmirror.c index c7bdcea22..3b40a43a3 100644 --- a/gst/geometrictransform/gstmirror.c +++ b/gst/geometrictransform/gstmirror.c @@ -182,7 +182,7 @@ gst_mirror_class_init (GstMirrorClass * klass) gstelement_class = (GstElementClass *) klass; gstgt_class = (GstGeometricTransformClass *) klass; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "mirror", "Transform/Effect/Video", "Split the image into two halves and reflect one over each other", diff --git a/gst/geometrictransform/gstpinch.c b/gst/geometrictransform/gstpinch.c index a42d18a93..2bf90e01a 100644 --- a/gst/geometrictransform/gstpinch.c +++ b/gst/geometrictransform/gstpinch.c @@ -177,7 +177,7 @@ gst_pinch_class_init (GstPinchClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "pinch", "Transform/Effect/Video", "Applies 'pinch' geometric transform to the image", diff --git a/gst/geometrictransform/gstrotate.c b/gst/geometrictransform/gstrotate.c index d4fbbc026..5780c0e7c 100644 --- a/gst/geometrictransform/gstrotate.c +++ b/gst/geometrictransform/gstrotate.c @@ -185,7 +185,7 @@ gst_rotate_class_init (GstRotateClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "rotate", "Transform/Effect/Video", "Rotates the picture by an arbitrary angle", diff --git a/gst/geometrictransform/gstsphere.c b/gst/geometrictransform/gstsphere.c index 340a20e08..b78f972b7 100644 --- a/gst/geometrictransform/gstsphere.c +++ b/gst/geometrictransform/gstsphere.c @@ -189,7 +189,7 @@ gst_sphere_class_init (GstSphereClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "sphere", "Transform/Effect/Video", "Applies 'sphere' geometric transform to the image", diff --git a/gst/geometrictransform/gstsquare.c b/gst/geometrictransform/gstsquare.c index f6ee9a5dc..1915b2a78 100644 --- a/gst/geometrictransform/gstsquare.c +++ b/gst/geometrictransform/gstsquare.c @@ -187,7 +187,7 @@ gst_square_class_init (GstSquareClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "square", "Transform/Effect/Video", "Distort center part of the image into a square", diff --git a/gst/geometrictransform/gststretch.c b/gst/geometrictransform/gststretch.c index 093b50e5d..770aae580 100644 --- a/gst/geometrictransform/gststretch.c +++ b/gst/geometrictransform/gststretch.c @@ -178,7 +178,7 @@ gst_stretch_class_init (GstStretchClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "stretch", "Transform/Effect/Video", "Stretch the image in a circle around the center point", diff --git a/gst/geometrictransform/gsttunnel.c b/gst/geometrictransform/gsttunnel.c index 28f68fdfd..9685fd5ce 100644 --- a/gst/geometrictransform/gsttunnel.c +++ b/gst/geometrictransform/gsttunnel.c @@ -116,7 +116,7 @@ gst_tunnel_class_init (GstTunnelClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "tunnel", "Transform/Effect/Video", "Light tunnel effect", "Filippo Argiolas <filippo.argiolas@gmail.com>"); diff --git a/gst/geometrictransform/gsttwirl.c b/gst/geometrictransform/gsttwirl.c index f4a4eee88..a5ea99e16 100644 --- a/gst/geometrictransform/gsttwirl.c +++ b/gst/geometrictransform/gsttwirl.c @@ -167,7 +167,7 @@ gst_twirl_class_init (GstTwirlClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "twirl", "Transform/Effect/Video", "Twists the image from the center out", diff --git a/gst/geometrictransform/gstwaterripple.c b/gst/geometrictransform/gstwaterripple.c index cebe4209a..ac9022666 100644 --- a/gst/geometrictransform/gstwaterripple.c +++ b/gst/geometrictransform/gstwaterripple.c @@ -197,7 +197,7 @@ gst_water_ripple_class_init (GstWaterRippleClass * klass) parent_class = g_type_class_peek_parent (klass); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "waterripple", "Transform/Effect/Video", "Creates a water ripple effect on the image", diff --git a/gst/hdvparse/gsthdvparse.c b/gst/hdvparse/gsthdvparse.c index 018722fcb..8f0d4fcb2 100644 --- a/gst/hdvparse/gsthdvparse.c +++ b/gst/hdvparse/gsthdvparse.c @@ -120,7 +120,7 @@ gst_hdvparse_base_init (gpointer klass) gst_static_pad_template_get (&src_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, "HDVParser", + gst_element_class_set_static_metadata (element_class, "HDVParser", "Data/Parser", "HDV private stream Parser", "Edward Hervey <bilboed@bilboed.com>"); } diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index b47fba83c..528165260 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -207,7 +207,7 @@ gst_hls_demux_class_init (GstHLSDemuxClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "HLS Demuxer", "Demuxer/URIList", "HTTP Live Streaming demuxer", diff --git a/gst/hls/gsthlssink.c b/gst/hls/gsthlssink.c index 66670c888..b792fa407 100644 --- a/gst/hls/gsthlssink.c +++ b/gst/hls/gsthlssink.c @@ -99,7 +99,7 @@ gst_hls_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "HTTP Live Streaming sink", "Sink", "HTTP Live Streaming sink", "Alessandro Decina <alessandro.decina@gmail.com>"); } diff --git a/gst/id3tag/gstid3mux.c b/gst/id3tag/gstid3mux.c index 68d50e516..f741f7315 100644 --- a/gst/id3tag/gstid3mux.c +++ b/gst/id3tag/gstid3mux.c @@ -123,7 +123,7 @@ gst_id3_mux_class_init (GstId3MuxClass * klass) GST_TAG_MUX_CLASS (klass)->render_end_tag = GST_DEBUG_FUNCPTR (gst_id3_mux_render_v1_tag); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "ID3 v1 and v2 Muxer", "Formatter/Metadata", "Adds an ID3v2 header and ID3v1 footer to a file", "Michael Smith <msmith@songbirdnest.com>, " diff --git a/gst/inter/gstinteraudiosink.c b/gst/inter/gstinteraudiosink.c index 443941592..9cd82d676 100644 --- a/gst/inter/gstinteraudiosink.c +++ b/gst/inter/gstinteraudiosink.c @@ -100,7 +100,7 @@ gst_inter_audio_sink_class_init (GstInterAudioSinkClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_inter_audio_sink_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Internal audio sink", "Sink/Audio", "Virtual audio sink for internal process communication", diff --git a/gst/inter/gstinteraudiosrc.c b/gst/inter/gstinteraudiosrc.c index d30c27d1a..3e55be260 100644 --- a/gst/inter/gstinteraudiosrc.c +++ b/gst/inter/gstinteraudiosrc.c @@ -105,7 +105,7 @@ gst_inter_audio_src_class_init (GstInterAudioSrcClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_inter_audio_src_src_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Internal audio source", "Source/Audio", "Virtual audio source for internal process communication", diff --git a/gst/inter/gstintersubsink.c b/gst/inter/gstintersubsink.c index 7ead62cb8..a5d669bd2 100644 --- a/gst/inter/gstintersubsink.c +++ b/gst/inter/gstintersubsink.c @@ -94,7 +94,7 @@ gst_inter_sub_sink_class_init (GstInterSubSinkClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_inter_sub_sink_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Internal subtitle sink", "Sink/Subtitle", "Virtual subtitle sink for internal process communication", diff --git a/gst/inter/gstintersubsrc.c b/gst/inter/gstintersubsrc.c index 39cb62243..cb6a6caff 100644 --- a/gst/inter/gstintersubsrc.c +++ b/gst/inter/gstintersubsrc.c @@ -97,7 +97,7 @@ gst_inter_sub_src_class_init (GstInterSubSrcClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_inter_sub_src_src_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Internal subtitle source", "Source/Subtitle", "Virtual subtitle source for internal process communication", diff --git a/gst/inter/gstintervideosink.c b/gst/inter/gstintervideosink.c index 04b5a4007..e892ca039 100644 --- a/gst/inter/gstintervideosink.c +++ b/gst/inter/gstintervideosink.c @@ -97,7 +97,7 @@ gst_inter_video_sink_class_init (GstInterVideoSinkClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_inter_video_sink_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Internal video sink", "Sink/Video", "Virtual video sink for internal process communication", diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c index 515ee4eec..bc6f7175b 100644 --- a/gst/inter/gstintervideosrc.c +++ b/gst/inter/gstintervideosrc.c @@ -100,7 +100,7 @@ gst_inter_video_src_class_init (GstInterVideoSrcClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_inter_video_src_src_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Internal video source", "Source/Video", "Virtual video source for internal process communication", diff --git a/gst/interlace/gstinterlace.c b/gst/interlace/gstinterlace.c index 63182f6a4..6e0fcdb5d 100644 --- a/gst/interlace/gstinterlace.c +++ b/gst/interlace/gstinterlace.c @@ -226,7 +226,7 @@ gst_interlace_class_init (GstInterlaceClass * klass) "Allow generation of buffers with RFF flag set, i.e., duration of 3 fields", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Interlace filter", "Filter/Video", "Creates an interlaced video from progressive frames", "David Schleef <ds@schleef.org>"); diff --git a/gst/ivfparse/gstivfparse.c b/gst/ivfparse/gstivfparse.c index 6c04a6619..21b79e68d 100644 --- a/gst/ivfparse/gstivfparse.c +++ b/gst/ivfparse/gstivfparse.c @@ -79,7 +79,7 @@ gst_ivf_parse_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "IVF parser", "Codec/Demuxer", "Demuxes a IVF stream", "Philip Jägenstedt <philipj@opera.com>"); diff --git a/gst/jp2kdecimator/gstjp2kdecimator.c b/gst/jp2kdecimator/gstjp2kdecimator.c index 106446760..c7f82ae14 100644 --- a/gst/jp2kdecimator/gstjp2kdecimator.c +++ b/gst/jp2kdecimator/gstjp2kdecimator.c @@ -94,7 +94,7 @@ gst_jp2k_decimator_base_init (gpointer g_class) { GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "JPEG2000 decimator", "Filter/Image", "Removes information from JPEG2000 streams without recompression", diff --git a/gst/jpegformat/gstjifmux.c b/gst/jpegformat/gstjifmux.c index d7a2de043..50bd30c9f 100644 --- a/gst/jpegformat/gstjifmux.c +++ b/gst/jpegformat/gstjifmux.c @@ -141,7 +141,7 @@ gst_jif_mux_class_init (GstJifMuxClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_jif_mux_sink_pad_template)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "JPEG stream muxer", "Video/Formatter", "Remuxes JPEG images with markers and tags", diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c index 0aae82d0e..fff0c5b9c 100644 --- a/gst/jpegformat/gstjpegparse.c +++ b/gst/jpegformat/gstjpegparse.c @@ -153,7 +153,7 @@ gst_jpeg_parse_class_init (GstJpegParseClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_jpeg_parse_sink_pad_template)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "JPEG stream parser", "Video/Parser", "Parse JPEG images into single-frame buffers", diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c index 8acf4c8df..670e1bdb9 100644 --- a/gst/librfb/gstrfbsrc.c +++ b/gst/librfb/gstrfbsrc.c @@ -96,7 +96,7 @@ gst_rfb_src_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rfb_src_template)); - gst_element_class_set_metadata (element_class, "Rfb source", + gst_element_class_set_static_metadata (element_class, "Rfb source", "Source/Video", "Creates a rfb video stream", "David A. Schleef <ds@schleef.org>, " diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index 220d2ccef..080d471ab 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -172,7 +172,7 @@ gst_live_adder_class_init (GstLiveAdderClass * klass) gst_static_pad_template_get (&gst_live_adder_src_template)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_live_adder_sink_template)); - gst_element_class_set_metadata (gstelement_class, "Live Adder element", + gst_element_class_set_static_metadata (gstelement_class, "Live Adder element", "Generic/Audio", "Mixes live/discontinuous audio streams", "Olivier Crete <olivier.crete@collabora.co.uk>"); diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index fbf151487..5da69b428 100644 --- a/gst/mixmatrix/mixmatrix.c +++ b/gst/mixmatrix/mixmatrix.c @@ -152,7 +152,7 @@ gst_mixmatrix_base_init (GstMixMatrixClass * klass) gst_static_pad_template_get (&mixmatrix_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&mixmatrix_src_template)); - gst_element_class_set_metadata (element_class, "Mixing Matrix", + gst_element_class_set_static_metadata (element_class, "Mixing Matrix", "Filter/Editor/Audio", "Mix N audio channels together into M channels", "Erik Walthinsen <omega@temple-baptist.com>"); diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c index b85693eae..ec2f6ef0a 100644 --- a/gst/mpeg1sys/gstmpeg1systemencode.c +++ b/gst/mpeg1sys/gstmpeg1systemencode.c @@ -116,7 +116,7 @@ gst_system_encode_base_init (GstMPEG1SystemEncodeClass * klass) gst_static_pad_template_get (&audio_sink_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&video_sink_factory)); - gst_element_class_set_metadata (element_class, "MPEG-1 muxer", + gst_element_class_set_static_metadata (element_class, "MPEG-1 muxer", "Codec/Muxer", "Multiplexes MPEG-1 Streams", "Wim Taymans <wim.taymans@chello.be>"); } diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c index 392d42475..8d8a5860f 100644 --- a/gst/mpegdemux/gstmpegdemux.c +++ b/gst/mpegdemux/gstmpegdemux.c @@ -231,7 +231,7 @@ gst_flups_demux_base_init (GstFluPSDemuxClass * klass) gst_element_class_add_pad_template (element_class, klass->private_template); gst_element_class_add_pad_template (element_class, klass->sink_template); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "The Fluendo MPEG Program Stream Demuxer", "Codec/Demuxer", "Demultiplexes MPEG Program Streams", "Wim Taymans <wim@fluendo.com>"); } diff --git a/gst/mpegpsmux/mpegpsmux.c b/gst/mpegpsmux/mpegpsmux.c index e9bfd0a69..52ffb4580 100644 --- a/gst/mpegpsmux/mpegpsmux.c +++ b/gst/mpegpsmux/mpegpsmux.c @@ -119,7 +119,7 @@ mpegpsmux_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&mpegpsmux_src_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "MPEG Program Stream Muxer", "Codec/Muxer", "Multiplexes media streams into an MPEG Program Stream", "Lin YANG <oxcsnicho@gmail.com>"); diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 227acfbca..0d1edcb09 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -297,7 +297,7 @@ gst_ts_demux_class_init (GstTSDemuxClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&private_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "MPEG transport stream demuxer", "Codec/Demuxer", "Demuxes MPEG2 transport streams", diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index 7eb3ac7f0..470d9192e 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -227,7 +227,7 @@ mpegtsmux_class_init (MpegTsMuxClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&mpegtsmux_src_factory)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "MPEG Transport Stream Muxer", "Codec/Muxer", "Multiplexes media streams into an MPEG Transport Stream", "Fluendo <contact@fluendo.com>"); diff --git a/gst/mve/gstmvedemux.c b/gst/mve/gstmvedemux.c index e99fd0437..13171bfbb 100644 --- a/gst/mve/gstmvedemux.c +++ b/gst/mve/gstmvedemux.c @@ -1094,7 +1094,7 @@ gst_mve_demux_base_init (GstMveDemuxClass * klass) gst_element_class_add_static_pad_template (element_class, &vidsrc_template); gst_element_class_add_static_pad_template (element_class, &audsrc_template); - gst_element_class_set_metadata (element_class, "MVE Demuxer", + gst_element_class_set_static_metadata (element_class, "MVE Demuxer", "Codec/Demuxer", "Demultiplex an Interplay movie (MVE) stream into audio and video", "Jens Granseuer <jensgr@gmx.net>"); diff --git a/gst/mve/gstmvemux.c b/gst/mve/gstmvemux.c index a4e71f9d2..9615f27b9 100644 --- a/gst/mve/gstmvemux.c +++ b/gst/mve/gstmvemux.c @@ -1357,7 +1357,7 @@ gst_mve_mux_base_init (GstMveMuxClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&video_sink_factory)); - gst_element_class_set_metadata (element_class, "MVE Multiplexer", + gst_element_class_set_static_metadata (element_class, "MVE Multiplexer", "Codec/Muxer", "Muxes audio and video into an MVE stream", "Jens Granseuer <jensgr@gmx.net>"); diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index 08cbff0ea..4758b8d62 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -3976,7 +3976,7 @@ gst_mxf_demux_base_init (gpointer g_class) gst_static_pad_template_get (&mxf_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&mxf_src_template)); - gst_element_class_set_metadata (element_class, "MXF Demuxer", + gst_element_class_set_static_metadata (element_class, "MXF Demuxer", "Codec/Demuxer", "Demux MXF files", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); } diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c index be92c1fa4..b1cc5dc4e 100644 --- a/gst/mxf/mxfmux.c +++ b/gst/mxf/mxfmux.c @@ -107,7 +107,7 @@ gst_mxf_mux_base_init (gpointer g_class) p++; } - gst_element_class_set_metadata (element_class, "MXF muxer", + gst_element_class_set_static_metadata (element_class, "MXF muxer", "Codec/Muxer", "Muxes video/audio streams into a MXF stream", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/gst/nsf/gstnsf.c b/gst/nsf/gstnsf.c index 2d506a78e..e7598ea75 100644 --- a/gst/nsf/gstnsf.c +++ b/gst/nsf/gstnsf.c @@ -136,7 +136,7 @@ gst_nsfdec_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Nsf decoder", + gst_element_class_set_static_metadata (element_class, "Nsf decoder", "Codec/Decoder/Audio", "Using nosefart to decode NSF audio tunes", "Johan Dahlin <johan@gnome.org>"); diff --git a/gst/nuvdemux/gstnuvdemux.c b/gst/nuvdemux/gstnuvdemux.c index f11cc04b4..d3107d87e 100644 --- a/gst/nuvdemux/gstnuvdemux.c +++ b/gst/nuvdemux/gstnuvdemux.c @@ -132,7 +132,7 @@ gst_nuv_demux_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, "Nuv demuxer", + gst_element_class_set_static_metadata (element_class, "Nuv demuxer", "Codec/Demuxer", "Demultiplex a MythTV NuppleVideo .nuv file into audio and video", "Renato Araujo Oliveira Filho <renato.filho@indt.org.br>," diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c index 16a1bac4b..0542d43b3 100644 --- a/gst/overlay/gstoverlay.c +++ b/gst/overlay/gstoverlay.c @@ -118,7 +118,7 @@ gst_overlay_base_init (GstOverlayClass * klass) gst_static_pad_template_get (&overlay_sink3_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&overlay_src_factory)); - gst_element_class_set_metadata (element_class, "Video overlay", + gst_element_class_set_static_metadata (element_class, "Video overlay", "Filter/Editor/Video", "Overlay multiple video streams", "David Schleef <ds@schleef.org>"); } diff --git a/gst/patchdetect/gstpatchdetect.c b/gst/patchdetect/gstpatchdetect.c index 4a3f1deb2..783ae0bd2 100644 --- a/gst/patchdetect/gstpatchdetect.c +++ b/gst/patchdetect/gstpatchdetect.c @@ -114,7 +114,7 @@ gst_patchdetect_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_patchdetect_src_template)); - gst_element_class_set_metadata (element_class, "Color Patch Detector", + gst_element_class_set_static_metadata (element_class, "Color Patch Detector", "Video/Analysis", "Detects color patches from a color calibration chart", "David Schleef <ds@entropywave.com>"); } diff --git a/gst/pcapparse/gstirtspparse.c b/gst/pcapparse/gstirtspparse.c index 0f8f78ce8..f9fff038c 100644 --- a/gst/pcapparse/gstirtspparse.c +++ b/gst/pcapparse/gstirtspparse.c @@ -110,7 +110,7 @@ gst_irtsp_parse_class_init (GstIRTSPParseClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "IRTSPParse", + gst_element_class_set_static_metadata (element_class, "IRTSPParse", "Raw/Parser", "Parses a raw interleaved RTSP stream", "Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>"); diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c index 791a9cf1d..85bb178ec 100644 --- a/gst/pcapparse/gstpcapparse.c +++ b/gst/pcapparse/gstpcapparse.c @@ -142,7 +142,7 @@ gst_pcap_parse_class_init (GstPcapParseClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "PCapParse", + gst_element_class_set_static_metadata (element_class, "PCapParse", "Raw/Parser", "Parses a raw pcap stream", "Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>"); diff --git a/gst/pnm/gstpnmdec.c b/gst/pnm/gstpnmdec.c index 4802727bf..f562a19b2 100644 --- a/gst/pnm/gstpnmdec.c +++ b/gst/pnm/gstpnmdec.c @@ -335,7 +335,7 @@ gst_pnmdec_class_init (GstPnmdecClass * klass) gst_static_pad_template_get (&gst_pnmdec_sink_pad_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_pnmdec_src_pad_template)); - gst_element_class_set_metadata (element_class, "PNM image decoder", + gst_element_class_set_static_metadata (element_class, "PNM image decoder", "Codec/Decoder/Image", "Decodes images in portable pixmap/graymap/bitmap/anymamp (PNM) format", "Lutz Mueller <lutz@users.sourceforge.net>"); diff --git a/gst/pnm/gstpnmenc.c b/gst/pnm/gstpnmenc.c index d3d2474fb..7a8096531 100644 --- a/gst/pnm/gstpnmenc.c +++ b/gst/pnm/gstpnmenc.c @@ -261,7 +261,7 @@ gst_pnmenc_class_init (GstPnmencClass * klass) gst_static_pad_template_get (&sink_pad_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_pad_template)); - gst_element_class_set_metadata (element_class, "PNM image encoder", + gst_element_class_set_static_metadata (element_class, "PNM image encoder", "Codec/Encoder/Image", "Encodes images into portable pixmap or graymap (PNM) format", "Lutz Mueller <lutz@users.sourceforge.net>"); diff --git a/gst/rawparse/gstaudioparse.c b/gst/rawparse/gstaudioparse.c index 946529712..3ad2fb1d6 100644 --- a/gst/rawparse/gstaudioparse.c +++ b/gst/rawparse/gstaudioparse.c @@ -152,7 +152,7 @@ gst_audio_parse_class_init (GstAudioParseClass * klass) "Use the sink caps for the format, only performing timestamping", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, "Audio Parse", + gst_element_class_set_static_metadata (gstelement_class, "Audio Parse", "Filter/Audio", "Converts stream into audio frames", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/gst/rawparse/gstvideoparse.c b/gst/rawparse/gstvideoparse.c index 73ccdbd00..152bda155 100644 --- a/gst/rawparse/gstvideoparse.c +++ b/gst/rawparse/gstvideoparse.c @@ -101,7 +101,7 @@ gst_video_parse_class_init (GstVideoParseClass * klass) "True if top field is earlier than bottom field", TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, "Video Parse", + gst_element_class_set_static_metadata (gstelement_class, "Video Parse", "Filter/Video", "Converts stream into video frames", "David Schleef <ds@schleef.org>, " diff --git a/gst/real/gstrealaudiodec.c b/gst/real/gstrealaudiodec.c index 2e92aa9e3..73c38290a 100644 --- a/gst/real/gstrealaudiodec.c +++ b/gst/real/gstrealaudiodec.c @@ -562,7 +562,7 @@ gst_real_audio_dec_base_init (gpointer g_class) gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&snk_t)); gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&src_t)); - gst_element_class_set_metadata (ec, "RealAudio decoder", + gst_element_class_set_static_metadata (ec, "RealAudio decoder", "Codec/Decoder/Audio", "Decoder for RealAudio streams", "Lutz Mueller <lutz@topfrose.de>"); } diff --git a/gst/real/gstrealvideodec.c b/gst/real/gstrealvideodec.c index 9c4557765..16d7f7331 100644 --- a/gst/real/gstrealvideodec.c +++ b/gst/real/gstrealvideodec.c @@ -629,7 +629,7 @@ gst_real_video_dec_base_init (gpointer g_class) gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&snk_t)); gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&src_t)); - gst_element_class_set_metadata (ec, "RealVideo decoder", + gst_element_class_set_static_metadata (ec, "RealVideo decoder", "Codec/Decoder/Video", "Decoder for RealVideo streams", "Lutz Mueller <lutz@topfrose.de>"); } diff --git a/gst/removesilence/gstremovesilence.c b/gst/removesilence/gstremovesilence.c index 462ddd026..0001bf4fa 100644 --- a/gst/removesilence/gstremovesilence.c +++ b/gst/removesilence/gstremovesilence.c @@ -122,7 +122,7 @@ gst_remove_silence_class_init (GstRemoveSilenceClass * klass) "Set the hysteresis (on samples) used on the internal VAD", 1, G_MAXUINT64, DEFAULT_VAD_HYSTERESIS, G_PARAM_READWRITE)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "RemoveSilence", "Filter/Effect/Audio", "Removes all the silence periods from the audio stream.", diff --git a/gst/rtjpeg/gstrtjpegdec.c b/gst/rtjpeg/gstrtjpegdec.c index 19d68a52b..92162013f 100644 --- a/gst/rtjpeg/gstrtjpegdec.c +++ b/gst/rtjpeg/gstrtjpegdec.c @@ -77,7 +77,7 @@ gst_rtjpegdec_base_init (GstRTJpegDecClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - gst_element_class_set_metadata (element_class, "RTjpeg video decoder", + gst_element_class_set_static_metadata (element_class, "RTjpeg video decoder", "Codec/Decoder/Video", "Decodes video in RTjpeg format", "Erik Walthinsen <omega@cse.ogi.edu>"); } diff --git a/gst/rtjpeg/gstrtjpegenc.c b/gst/rtjpeg/gstrtjpegenc.c index 35a792a60..aab93100e 100644 --- a/gst/rtjpeg/gstrtjpegenc.c +++ b/gst/rtjpeg/gstrtjpegenc.c @@ -77,7 +77,7 @@ gst_rtjpegenc_base_init (GstRTJpegEncClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - gst_element_class_set_metadata (element_class, "RTjpeg video encoder", + gst_element_class_set_static_metadata (element_class, "RTjpeg video encoder", "Codec/Encoder/Video", "Encodes video in RTjpeg format", "Erik Walthinsen <omega@cse.ogi.edu>"); } diff --git a/gst/rtpmux/gstrtpdtmfmux.c b/gst/rtpmux/gstrtpdtmfmux.c index b320dd968..70af809ba 100644 --- a/gst/rtpmux/gstrtpdtmfmux.c +++ b/gst/rtpmux/gstrtpdtmfmux.c @@ -87,7 +87,7 @@ gst_rtp_dtmf_mux_class_init (GstRTPDTMFMuxClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&priority_sink_factory)); - gst_element_class_set_metadata (gstelement_class, "RTP muxer", + gst_element_class_set_static_metadata (gstelement_class, "RTP muxer", "Codec/Muxer", "mixes RTP DTMF streams into other RTP streams", "Zeeshan Ali <first.last@nokia.com>"); diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c index c68fe522e..286ddc6e0 100644 --- a/gst/rtpmux/gstrtpmux.c +++ b/gst/rtpmux/gstrtpmux.c @@ -132,7 +132,7 @@ gst_rtp_mux_class_init (GstRTPMuxClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, "RTP muxer", + gst_element_class_set_static_metadata (gstelement_class, "RTP muxer", "Codec/Muxer", "multiplex N rtp streams into one", "Zeeshan Ali <first.last@nokia.com>"); diff --git a/gst/rtpvp8/gstrtpvp8depay.c b/gst/rtpvp8/gstrtpvp8depay.c index 48a17ab56..9d7e5e6d8 100644 --- a/gst/rtpvp8/gstrtpvp8depay.c +++ b/gst/rtpvp8/gstrtpvp8depay.c @@ -74,7 +74,7 @@ gst_rtp_vp8_depay_class_init (GstRtpVP8DepayClass * gst_rtp_vp8_depay_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rtp_vp8_depay_src_template)); - gst_element_class_set_metadata (element_class, "RTP VP8 depayloader", + gst_element_class_set_static_metadata (element_class, "RTP VP8 depayloader", "Codec/Depayloader/Network/RTP", "Extracts VP8 video from RTP packets)", "Sjoerd Simons <sjoerd@luon.net>"); diff --git a/gst/rtpvp8/gstrtpvp8pay.c b/gst/rtpvp8/gstrtpvp8pay.c index c2e4c9f1e..29d41c28b 100644 --- a/gst/rtpvp8/gstrtpvp8pay.c +++ b/gst/rtpvp8/gstrtpvp8pay.c @@ -82,7 +82,7 @@ gst_rtp_vp8_pay_class_init (GstRtpVP8PayClass * gst_rtp_vp8_pay_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rtp_vp8_pay_src_template)); - gst_element_class_set_metadata (element_class, "RTP VP8 payloader", + gst_element_class_set_static_metadata (element_class, "RTP VP8 payloader", "Codec/Payloader/Network/RTP", "Puts VP8 video in RTP packets)", "Sjoerd Simons <sjoerd@luon.net>"); diff --git a/gst/scaletempo/gstscaletempo.c b/gst/scaletempo/gstscaletempo.c index 3ee6bc58f..d94bb0da0 100644 --- a/gst/scaletempo/gstscaletempo.c +++ b/gst/scaletempo/gstscaletempo.c @@ -699,7 +699,7 @@ gst_scaletempo_class_init (GstScaletempoClass * klass) gst_static_pad_template_get (&src_template)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (gstelement_class, "Scaletempo", + gst_element_class_set_static_metadata (gstelement_class, "Scaletempo", "Filter/Effect/Rate", "Sync audio tempo with playback rate", "Rov Juvano <rovjuvano@users.sourceforge.net>"); diff --git a/gst/sdi/gstsdidemux.c b/gst/sdi/gstsdidemux.c index 0b12db73f..fe90cfb56 100644 --- a/gst/sdi/gstsdidemux.c +++ b/gst/sdi/gstsdidemux.c @@ -110,7 +110,7 @@ gst_sdi_demux_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_sdi_demux_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "SDI Demuxer", "Demuxer", "Demultiplex SDI streams into raw audio and video", diff --git a/gst/sdi/gstsdimux.c b/gst/sdi/gstsdimux.c index 8682502f8..a7717257d 100644 --- a/gst/sdi/gstsdimux.c +++ b/gst/sdi/gstsdimux.c @@ -113,7 +113,7 @@ gst_sdi_mux_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_sdi_mux_sink_template)); - gst_element_class_set_metadata (element_class, "SDI Muxer", + gst_element_class_set_static_metadata (element_class, "SDI Muxer", "Muxer", "Multiplex raw audio and video into SDI", "David Schleef <ds@schleef.org>"); diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index e34e7d654..7a638c4b3 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -165,7 +165,7 @@ gst_sdp_demux_class_init (GstSDPDemuxClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&rtptemplate)); - gst_element_class_set_metadata (gstelement_class, "SDP session setup", + gst_element_class_set_static_metadata (gstelement_class, "SDP session setup", "Codec/Demuxer/Network/RTP", "Receive data over the network via SDP", "Wim Taymans <wim.taymans@gmail.com>"); diff --git a/gst/segmentclip/gstaudiosegmentclip.c b/gst/segmentclip/gstaudiosegmentclip.c index b48b05811..7ace07a7b 100644 --- a/gst/segmentclip/gstaudiosegmentclip.c +++ b/gst/segmentclip/gstaudiosegmentclip.c @@ -61,7 +61,7 @@ gst_audio_segment_clip_class_init (GstAudioSegmentClipClass * klass) segment_clip_klass->clip_buffer = GST_DEBUG_FUNCPTR (gst_audio_segment_clip_clip_buffer); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Audio buffer segment clipper", "Filter/Audio", "Clips audio buffers to the configured segment", diff --git a/gst/segmentclip/gstvideosegmentclip.c b/gst/segmentclip/gstvideosegmentclip.c index 174da76f9..4cb846405 100644 --- a/gst/segmentclip/gstvideosegmentclip.c +++ b/gst/segmentclip/gstvideosegmentclip.c @@ -55,7 +55,7 @@ gst_video_segment_clip_class_init (GstVideoSegmentClipClass * klass) GST_DEBUG_CATEGORY_INIT (gst_video_segment_clip_debug, "videosegmentclip", 0, "videosegmentclip element"); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Video buffer segment clipper", "Filter/Video", "Clips video buffers to the configured segment", diff --git a/gst/siren/gstsirendec.c b/gst/siren/gstsirendec.c index 9afc14193..fbdfcd044 100644 --- a/gst/siren/gstsirendec.c +++ b/gst/siren/gstsirendec.c @@ -78,7 +78,7 @@ gst_siren_dec_class_init (GstSirenDecClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (element_class, "Siren Decoder element", + gst_element_class_set_static_metadata (element_class, "Siren Decoder element", "Codec/Decoder/Audio ", "Decode streams encoded with the Siren7 codec into 16bit PCM", "Youness Alaoui <kakaroto@kakaroto.homelinux.net>"); diff --git a/gst/siren/gstsirenenc.c b/gst/siren/gstsirenenc.c index e3c63a400..caf039e44 100644 --- a/gst/siren/gstsirenenc.c +++ b/gst/siren/gstsirenenc.c @@ -76,7 +76,7 @@ gst_siren_enc_class_init (GstSirenEncClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (element_class, "Siren Encoder element", + gst_element_class_set_static_metadata (element_class, "Siren Encoder element", "Codec/Encoder/Audio ", "Encode 16bit PCM streams into the Siren7 codec", "Youness Alaoui <kakaroto@kakaroto.homelinux.net>"); diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c index 8a72942fb..76be73165 100644 --- a/gst/smooth/gstsmooth.c +++ b/gst/smooth/gstsmooth.c @@ -93,7 +93,7 @@ gst_smooth_class_init (GstSmoothClass * klass) gst_static_pad_template_get (&gst_smooth_sink_template)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_smooth_src_template)); - gst_element_class_set_metadata (gstelement_class, "Smooth effect", + gst_element_class_set_static_metadata (gstelement_class, "Smooth effect", "Filter/Effect/Video", "Apply a smooth filter to an image", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c index bfaf958fe..a29baa2b7 100644 --- a/gst/speed/gstspeed.c +++ b/gst/speed/gstspeed.c @@ -387,7 +387,7 @@ gst_speed_class_init (GstSpeedClass * klass) 0.1, 40.0, 1.0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, "Speed", + gst_element_class_set_static_metadata (gstelement_class, "Speed", "Filter/Effect/Audio", "Set speed/pitch on audio/raw streams (resampler)", "Andy Wingo <apwingo@eos.ncsu.edu>, " diff --git a/gst/stereo/gststereo.c b/gst/stereo/gststereo.c index 767ee42ad..25d996599 100644 --- a/gst/stereo/gststereo.c +++ b/gst/stereo/gststereo.c @@ -86,7 +86,7 @@ gst_stereo_base_init (gpointer g_class) GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); GstCaps *caps; - gst_element_class_set_metadata (element_class, "Stereo effect", + gst_element_class_set_static_metadata (element_class, "Stereo effect", "Filter/Effect/Audio", "Muck with the stereo signal to enhance its 'stereo-ness'", "Erik Walthinsen <omega@cse.ogi.edu>"); diff --git a/gst/subenc/gstsrtenc.c b/gst/subenc/gstsrtenc.c index 496e6439a..3f38bb16a 100644 --- a/gst/subenc/gstsrtenc.c +++ b/gst/subenc/gstsrtenc.c @@ -128,7 +128,7 @@ gst_srt_enc_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Srt encoder", "Codec/Encoder/Subtitle", "Srt subtitle encoder", "Thijs Vermeir <thijsvermeir@gmail.com>"); } diff --git a/gst/subenc/gstwebvttenc.c b/gst/subenc/gstwebvttenc.c index 72737212b..15c059f73 100644 --- a/gst/subenc/gstwebvttenc.c +++ b/gst/subenc/gstwebvttenc.c @@ -162,7 +162,7 @@ gst_webvtt_enc_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "WebVTT encoder", "Codec/Encoder/Subtitle", "WebVTT subtitle encoder", "David Schleef <ds@schleef.org>"); } diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c index aa7f4d0ad..38da3d400 100644 --- a/gst/tta/gstttadec.c +++ b/gst/tta/gstttadec.c @@ -175,7 +175,7 @@ gst_tta_dec_base_init (GstTtaDecClass * 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_metadata (element_class, "TTA audio decoder", + gst_element_class_set_static_metadata (element_class, "TTA audio decoder", "Codec/Decoder/Audio", "Decode TTA audio data", "Arwed v. Merkatz <v.merkatz@gmx.net>"); } diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c index 9f164d72c..25410545d 100644 --- a/gst/tta/gstttaparse.c +++ b/gst/tta/gstttaparse.c @@ -96,7 +96,7 @@ gst_tta_parse_base_init (GstTtaParseClass * 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_metadata (element_class, "TTA file parser", + gst_element_class_set_static_metadata (element_class, "TTA file parser", "Codec/Demuxer/Audio", "Parses TTA files", "Arwed v. Merkatz <v.merkatz@gmx.net>"); } diff --git a/gst/vbidec/gstvbidec.c b/gst/vbidec/gstvbidec.c index 32069ead1..38e6ea2c5 100644 --- a/gst/vbidec/gstvbidec.c +++ b/gst/vbidec/gstvbidec.c @@ -161,7 +161,7 @@ gst_vbidec_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "VBI decoder", + gst_element_class_set_static_metadata (element_class, "VBI decoder", "Codec/Decoder/Video", "Decodes closed captions and XDS data from VBI data", "David I. Lehn <dlehn@users.sourceforge.net>"); diff --git a/gst/videofilters/gstscenechange.c b/gst/videofilters/gstscenechange.c index b15439d42..864cad340 100644 --- a/gst/videofilters/gstscenechange.c +++ b/gst/videofilters/gstscenechange.c @@ -132,7 +132,7 @@ gst_scene_change_base_init (gpointer g_class) GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Scene change detector", + gst_element_class_set_static_metadata (element_class, "Scene change detector", "Video/Filter", "Detects scene changes in video", "David Schleef <ds@entropywave.com>"); } diff --git a/gst/videofilters/gstzebrastripe.c b/gst/videofilters/gstzebrastripe.c index bcf0318c8..62306887a 100644 --- a/gst/videofilters/gstzebrastripe.c +++ b/gst/videofilters/gstzebrastripe.c @@ -94,7 +94,7 @@ gst_zebra_stripe_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Zebra stripe overlay", + gst_element_class_set_static_metadata (element_class, "Zebra stripe overlay", "Filter/Analysis", "Overlays zebra striping on overexposed areas of video", "David Schleef <ds@entropywave.com>"); diff --git a/gst/videomeasure/gstvideomeasure_collector.c b/gst/videomeasure/gstvideomeasure_collector.c index 081ce199a..c51e4bbf8 100644 --- a/gst/videomeasure/gstvideomeasure_collector.c +++ b/gst/videomeasure/gstvideomeasure_collector.c @@ -318,7 +318,7 @@ gst_measure_collector_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Video measure collector", "Filter/Effect/Video", "Collect measurements from a measuring element", "Руслан Ижбулатов <lrn _at_ gmail _dot_ com>"); diff --git a/gst/videomeasure/gstvideomeasure_ssim.c b/gst/videomeasure/gstvideomeasure_ssim.c index 5e56875d5..c0edd6083 100644 --- a/gst/videomeasure/gstvideomeasure_ssim.c +++ b/gst/videomeasure/gstvideomeasure_ssim.c @@ -1101,7 +1101,7 @@ gst_ssim_class_init (GstSSimClass * klass) gst_static_pad_template_get (&gst_ssim_sink_original_template)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_ssim_sink_modified_template)); - gst_element_class_set_metadata (gstelement_class, "SSim", + gst_element_class_set_static_metadata (gstelement_class, "SSim", "Filter/Analyzer/Video", "Calculate Y-SSIM for n+2 YUV video streams", "Руслан Ижбулатов <lrn1986 _at_ gmail _dot_ com>"); diff --git a/gst/videoparsers/gstdiracparse.c b/gst/videoparsers/gstdiracparse.c index 0f0bdb9a5..25af43d8f 100644 --- a/gst/videoparsers/gstdiracparse.c +++ b/gst/videoparsers/gstdiracparse.c @@ -113,7 +113,7 @@ gst_dirac_parse_class_init (GstDiracParseClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_dirac_parse_sink_template)); - gst_element_class_set_metadata (element_class, "Dirac parser", + gst_element_class_set_static_metadata (element_class, "Dirac parser", "Codec/Parser/Video", "Parses Dirac streams", "David Schleef <ds@schleef.org>"); diff --git a/gst/videoparsers/gsth263parse.c b/gst/videoparsers/gsth263parse.c index 75187813f..fbbdf05fb 100644 --- a/gst/videoparsers/gsth263parse.c +++ b/gst/videoparsers/gsth263parse.c @@ -74,7 +74,7 @@ gst_h263_parse_class_init (GstH263ParseClass * 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_metadata (gstelement_class, "H.263 parser", + gst_element_class_set_static_metadata (gstelement_class, "H.263 parser", "Codec/Parser/Video", "Parses H.263 streams", "Arun Raghavan <arun.raghavan@collabora.co.uk>," diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 2b0db51f6..bb9ada9dd 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -135,7 +135,7 @@ gst_h264_parse_class_init (GstH264ParseClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sinktemplate)); - gst_element_class_set_metadata (gstelement_class, "H.264 parser", + gst_element_class_set_static_metadata (gstelement_class, "H.264 parser", "Codec/Parser/Converter/Video", "Parses H.264 streams", "Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>"); diff --git a/gst/videoparsers/gstmpeg4videoparse.c b/gst/videoparsers/gstmpeg4videoparse.c index fc96f7a91..94a6feb2d 100644 --- a/gst/videoparsers/gstmpeg4videoparse.c +++ b/gst/videoparsers/gstmpeg4videoparse.c @@ -155,7 +155,7 @@ gst_mpeg4vparse_class_init (GstMpeg4VParseClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "MPEG 4 video elementary stream parser", "Codec/Parser/Video", "Parses MPEG-4 Part 2 elementary video streams", "Julien Moutte <julien@fluendo.com>"); diff --git a/gst/videoparsers/gstmpegvideoparse.c b/gst/videoparsers/gstmpegvideoparse.c index 3aaf5e8c7..bb111b0d1 100644 --- a/gst/videoparsers/gstmpegvideoparse.c +++ b/gst/videoparsers/gstmpegvideoparse.c @@ -148,7 +148,7 @@ gst_mpegv_parse_class_init (GstMpegvParseClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "MPEG video elementary stream parser", "Codec/Parser/Video", "Parses and frames MPEG-1 and MPEG-2 elementary video streams", diff --git a/gst/videosignal/gstvideoanalyse.c b/gst/videosignal/gstvideoanalyse.c index d18ac77c1..a900ae45c 100644 --- a/gst/videosignal/gstvideoanalyse.c +++ b/gst/videosignal/gstvideoanalyse.c @@ -275,7 +275,7 @@ gst_video_analyse_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Video analyser", + gst_element_class_set_static_metadata (element_class, "Video analyser", "Filter/Analyzer/Video", "Analyse video signal", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/videosignal/gstvideodetect.c b/gst/videosignal/gstvideodetect.c index c98b67391..1ffbce556 100644 --- a/gst/videosignal/gstvideodetect.c +++ b/gst/videosignal/gstvideodetect.c @@ -434,7 +434,7 @@ gst_video_detect_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Video detecter", + gst_element_class_set_static_metadata (element_class, "Video detecter", "Filter/Effect/Video", "Detect patterns in a video signal", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/videosignal/gstvideomark.c b/gst/videosignal/gstvideomark.c index 117f2bda4..a5ad0444a 100644 --- a/gst/videosignal/gstvideomark.c +++ b/gst/videosignal/gstvideomark.c @@ -321,7 +321,7 @@ gst_video_mark_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Video marker", + gst_element_class_set_static_metadata (element_class, "Video marker", "Filter/Effect/Video", "Marks a video signal with a pattern", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/vmnc/vmncdec.c b/gst/vmnc/vmncdec.c index 879e4dc8a..bee4706ac 100644 --- a/gst/vmnc/vmncdec.c +++ b/gst/vmnc/vmncdec.c @@ -172,7 +172,7 @@ gst_vmnc_dec_base_init (gpointer g_class) gst_static_pad_template_get (&vmnc_dec_src_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&vmnc_dec_sink_factory)); - gst_element_class_set_metadata (element_class, "VMnc video decoder", + gst_element_class_set_static_metadata (element_class, "VMnc video decoder", "Codec/Decoder/Video", "Decode VmWare video to raw (RGB) video", "Michael Smith <msmith@xiph.org>"); diff --git a/gst/y4m/gsty4mdec.c b/gst/y4m/gsty4mdec.c index bb328e63a..95d215dd3 100644 --- a/gst/y4m/gsty4mdec.c +++ b/gst/y4m/gsty4mdec.c @@ -111,7 +111,7 @@ gst_y4m_dec_class_init (GstY4mDecClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_y4m_dec_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "YUV4MPEG demuxer/decoder", "Codec/Demuxer", "Demuxes/decodes YUV4MPEG streams", "David Schleef <ds@schleef.org>"); } |