diff options
290 files changed, 315 insertions, 327 deletions
diff --git a/ext/apexsink/gstapexsink.c b/ext/apexsink/gstapexsink.c index 526f01064..fe3b99292 100644 --- a/ext/apexsink/gstapexsink.c +++ b/ext/apexsink/gstapexsink.c @@ -261,7 +261,7 @@ gst_apexsink_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, "Apple AirPort Express Audio Sink", "Sink/Audio/Wireless", "Output stream to an AirPort Express", "Jérémie Bernard [GRemi] <gremimail@gmail.com>"); diff --git a/ext/assrender/gstassrender.c b/ext/assrender/gstassrender.c index 9da978224..233733b06 100644 --- a/ext/assrender/gstassrender.c +++ b/ext/assrender/gstassrender.c @@ -155,7 +155,7 @@ gst_ass_render_class_init (GstAssRenderClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&text_sink_factory)); - gst_element_class_set_metadata (gstelement_class, "ASS/SSA Render", + gst_element_class_set_static_metadata (gstelement_class, "ASS/SSA Render", "Mixer/Video/Overlay/Subtitle", "Renders ASS/SSA subtitles with libass", "Benjamin Schmitz <vortex@wolpzone.de>, " diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c index eb16ecb2c..283bdee94 100644 --- a/ext/audiofile/gstafparse.c +++ b/ext/audiofile/gstafparse.c @@ -119,7 +119,7 @@ gst_afparse_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&afparse_sink_factory)); - gst_element_class_set_metadata (element_class, "Audiofile demuxer", + gst_element_class_set_static_metadata (element_class, "Audiofile demuxer", "Codec/Demuxer/Audio", "Audiofile parser for audio/raw", "Steve Baker <stevebaker_org@yahoo.co.uk>"); diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c index 5953da4ab..afc0a71de 100644 --- a/ext/audiofile/gstafsink.c +++ b/ext/audiofile/gstafsink.c @@ -140,7 +140,7 @@ gst_afsink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&afsink_sink_factory)); - gst_element_class_set_metadata (element_class, "Audiofile sink", + gst_element_class_set_static_metadata (element_class, "Audiofile sink", "Sink/Audio", "Write audio streams to disk using libaudiofile", "Thomas Vander Stichele <thomas@apestaart.org>"); diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c index 0e43f541e..c957d1e48 100644 --- a/ext/audiofile/gstafsrc.c +++ b/ext/audiofile/gstafsrc.c @@ -137,7 +137,7 @@ gst_afsrc_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&afsrc_src_factory)); - gst_element_class_set_metadata (element_class, "Audiofile source", + gst_element_class_set_static_metadata (element_class, "Audiofile source", "Source/Audio", "Read audio files from disk using libaudiofile", "Thomas <thomas@apestaart.org>"); diff --git a/ext/bz2/gstbz2dec.c b/ext/bz2/gstbz2dec.c index 513832e70..0cd9fa703 100644 --- a/ext/bz2/gstbz2dec.c +++ b/ext/bz2/gstbz2dec.c @@ -300,7 +300,7 @@ gst_bz2dec_class_init (GstBz2decClass * klass) gst_static_pad_template_get (&sink_template)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (gstelement_class, "BZ2 decoder", + gst_element_class_set_static_metadata (gstelement_class, "BZ2 decoder", "Codec/Decoder", "Decodes compressed streams", "Lutz Mueller <lutz@users.sourceforge.net>"); diff --git a/ext/bz2/gstbz2enc.c b/ext/bz2/gstbz2enc.c index 161320698..4be2d4b24 100644 --- a/ext/bz2/gstbz2enc.c +++ b/ext/bz2/gstbz2enc.c @@ -324,7 +324,7 @@ gst_bz2enc_class_init (GstBz2encClass * klass) gst_static_pad_template_get (&sink_template)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (gstelement_class, "BZ2 encoder", + gst_element_class_set_static_metadata (gstelement_class, "BZ2 encoder", "Codec/Encoder", "Compresses streams", "Lutz Mueller <lutz@users.sourceforge.net>"); diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c index ffd81c234..ff37407a4 100644 --- a/ext/cdaudio/gstcdaudio.c +++ b/ext/cdaudio/gstcdaudio.c @@ -135,7 +135,7 @@ gst_cdaudio_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "CD player", + gst_element_class_set_static_metadata (element_class, "CD player", "Generic/Bin", "Play CD audio through the CD Drive", "Wim Taymans <wim@fluendo.com>"); diff --git a/ext/celt/gstceltdec.c b/ext/celt/gstceltdec.c index 14f9d0d41..26e7000c6 100644 --- a/ext/celt/gstceltdec.c +++ b/ext/celt/gstceltdec.c @@ -97,7 +97,7 @@ gst_celt_dec_class_init (GstCeltDecClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&celt_dec_sink_factory)); - gst_element_class_set_metadata (gstelement_class, "Celt audio decoder", + gst_element_class_set_static_metadata (gstelement_class, "Celt audio decoder", "Codec/Decoder/Audio", "decode celt streams to audio", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/ext/celt/gstceltenc.c b/ext/celt/gstceltenc.c index a4dd1ea51..57633fb79 100644 --- a/ext/celt/gstceltenc.c +++ b/ext/celt/gstceltenc.c @@ -189,7 +189,7 @@ gst_celt_enc_class_init (GstCeltEncClass * klass) gst_static_pad_template_get (&src_factory)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, "Celt audio encoder", + gst_element_class_set_static_metadata (gstelement_class, "Celt audio encoder", "Codec/Encoder/Audio", "Encodes audio in Celt format", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/ext/chromaprint/gstchromaprint.c b/ext/chromaprint/gstchromaprint.c index ad9d1fdf2..379383d1a 100644 --- a/ext/chromaprint/gstchromaprint.c +++ b/ext/chromaprint/gstchromaprint.c @@ -106,7 +106,7 @@ gst_chromaprint_class_init (GstChromaprintClass * klass) GST_DEBUG_FUNCPTR (gst_chromaprint_sink_event); gstbasetrans_class->passthrough_on_same_caps = TRUE; - gst_element_class_set_metadata (GST_ELEMENT_CLASS (klass), + gst_element_class_set_static_metadata (GST_ELEMENT_CLASS (klass), "Chromaprint fingerprinting element", "Filter/Analyzer/Audio", "Find an audio fingerprint using the Chromaprint library", diff --git a/ext/cog/gstcogdownsample.c b/ext/cog/gstcogdownsample.c index fab621434..7d1a91011 100644 --- a/ext/cog/gstcogdownsample.c +++ b/ext/cog/gstcogdownsample.c @@ -137,7 +137,7 @@ gst_cogdownsample_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_cogdownsample_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Scale down video by factor of 2", "Filter/Effect/Video", "Scales down video by a factor of 2", "David Schleef <ds@schleef.org>"); } diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c index 08908dc40..52c361e54 100644 --- a/ext/cog/gstcogmse.c +++ b/ext/cog/gstcogmse.c @@ -143,7 +143,7 @@ gst_mse_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_framestore_sink_test_template)); - gst_element_class_set_metadata (element_class, "Calculate MSE", + gst_element_class_set_static_metadata (element_class, "Calculate MSE", "Filter/Effect", "Calculates mean squared error between two video streams", "David Schleef <ds@schleef.org>"); diff --git a/ext/cog/gstcogscale.c b/ext/cog/gstcogscale.c index 873526707..e2844e649 100644 --- a/ext/cog/gstcogscale.c +++ b/ext/cog/gstcogscale.c @@ -203,7 +203,7 @@ gst_cog_scale_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Video scaler", + gst_element_class_set_static_metadata (element_class, "Video scaler", "Filter/Effect/Video", "Resizes video", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/ext/curl/gstcurlbasesink.c b/ext/curl/gstcurlbasesink.c index ebbbb99ae..3573041a2 100644 --- a/ext/curl/gstcurlbasesink.c +++ b/ext/curl/gstcurlbasesink.c @@ -158,7 +158,7 @@ gst_curl_base_sink_class_init (GstCurlBaseSinkClass * klass) "curl base sink element"); GST_DEBUG_OBJECT (klass, "class_init"); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Curl base sink", "Sink/Network", "Upload data over the network to a server using libcurl", diff --git a/ext/curl/gstcurlfilesink.c b/ext/curl/gstcurlfilesink.c index c8b7e2b5f..823e863d2 100644 --- a/ext/curl/gstcurlfilesink.c +++ b/ext/curl/gstcurlfilesink.c @@ -107,7 +107,7 @@ gst_curl_file_sink_class_init (GstCurlFileSinkClass * klass) "curl file sink element"); GST_DEBUG_OBJECT (klass, "class_init"); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Curl file sink", "Sink/Network", "Upload data over FILE protocol using libcurl", diff --git a/ext/curl/gstcurlftpsink.c b/ext/curl/gstcurlftpsink.c index 58a057ffc..4fcf46476 100644 --- a/ext/curl/gstcurlftpsink.c +++ b/ext/curl/gstcurlftpsink.c @@ -108,7 +108,7 @@ gst_curl_ftp_sink_class_init (GstCurlFtpSinkClass * klass) "curl ftp sink element"); GST_DEBUG_OBJECT (klass, "class_init"); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Curl ftp sink", "Sink/Network", "Upload data over FTP protocol using libcurl", diff --git a/ext/curl/gstcurlhttpsink.c b/ext/curl/gstcurlhttpsink.c index da35a1014..3976fb862 100644 --- a/ext/curl/gstcurlhttpsink.c +++ b/ext/curl/gstcurlhttpsink.c @@ -126,7 +126,7 @@ gst_curl_http_sink_class_init (GstCurlHttpSinkClass * klass) "curl http sink element"); GST_DEBUG_OBJECT (klass, "class_init"); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Curl http sink", "Sink/Network", "Upload data over HTTP/HTTPS protocol using libcurl", diff --git a/ext/curl/gstcurlsmtpsink.c b/ext/curl/gstcurlsmtpsink.c index 4948ddbb2..b58e65c0e 100644 --- a/ext/curl/gstcurlsmtpsink.c +++ b/ext/curl/gstcurlsmtpsink.c @@ -229,7 +229,7 @@ gst_curl_smtp_sink_class_init (GstCurlSmtpSinkClass * klass) "curl smtp sink element"); GST_DEBUG_OBJECT (klass, "class_init"); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Curl smtp sink", "Sink/Network", "Upload data over SMTP protocol using libcurl", diff --git a/ext/curl/gstcurltlssink.c b/ext/curl/gstcurltlssink.c index d96c33e1f..f18ead944 100644 --- a/ext/curl/gstcurltlssink.c +++ b/ext/curl/gstcurltlssink.c @@ -98,7 +98,7 @@ gst_curl_tls_sink_class_init (GstCurlTlsSinkClass * klass) "curl tls sink element"); GST_DEBUG_OBJECT (klass, "class_init"); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Curl tls sink", "Sink/Network", "Upload data over TLS protocol using libcurl", diff --git a/ext/dc1394/gstdc1394.c b/ext/dc1394/gstdc1394.c index 299b52ac8..241828cc0 100644 --- a/ext/dc1394/gstdc1394.c +++ b/ext/dc1394/gstdc1394.c @@ -105,8 +105,8 @@ gst_dc1394_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "1394 IIDC Video Source", - "Source/Video", + gst_element_class_set_static_metadata (element_class, + "1394 IIDC Video Source", "Source/Video", "libdc1394 based source, supports 1394 IIDC cameras", "Antoine Tremblay <hexa00@gmail.com>"); diff --git a/ext/dirac/gstdiracdec.cc b/ext/dirac/gstdiracdec.cc index afeff514e..d33b4ed44 100644 --- a/ext/dirac/gstdiracdec.cc +++ b/ext/dirac/gstdiracdec.cc @@ -107,7 +107,7 @@ gst_diracdec_base_init (gpointer g_class) &gst_diracdec_src_pad_template); gst_element_class_add_static_pad_template (element_class, &gst_diracdec_sink_pad_template); - gst_element_class_set_metadata (element_class, "Dirac stream decoder", + gst_element_class_set_static_metadata (element_class, "Dirac stream decoder", "Codec/Decoder/Video", "Decode DIRAC streams", "David Schleef <ds@schleef.org>, " "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/ext/dirac/gstdiracenc.cc b/ext/dirac/gstdiracenc.cc index 647b5c13d..7c48a8ad4 100644 --- a/ext/dirac/gstdiracenc.cc +++ b/ext/dirac/gstdiracenc.cc @@ -205,7 +205,7 @@ gst_dirac_enc_base_init (gpointer g_class) gst_element_class_add_static_pad_template (element_class, &gst_dirac_enc_sink_template); - gst_element_class_set_metadata (element_class, "Dirac Encoder", + gst_element_class_set_static_metadata (element_class, "Dirac Encoder", "Codec/Encoder/Video", "Encode raw YUV video into Dirac stream", "David Schleef <ds@schleef.org>"); diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index be64cfddf..9dbc7a261 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -2262,7 +2262,7 @@ gst_dfbvideosink_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "DirectFB video sink", + gst_element_class_set_static_metadata (element_class, "DirectFB video sink", "Sink/Video", "A DirectFB based videosink", "Julien Moutte <julien@moutte.net>"); diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c index b0e0dc73b..2f9e5c369 100644 --- a/ext/dts/gstdtsdec.c +++ b/ext/dts/gstdtsdec.c @@ -160,7 +160,7 @@ gst_dtsdec_class_init (GstDtsDecClass * klass) gst_static_pad_template_get (&sink_factory)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&src_factory)); - gst_element_class_set_metadata (gstelement_class, "DTS audio decoder", + gst_element_class_set_static_metadata (gstelement_class, "DTS audio decoder", "Codec/Decoder/Audio", "Decodes DTS audio streams", "Jan Schmidt <thaytan@noraisin.net>, " diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c index 450567f23..7a8136189 100644 --- a/ext/faac/gstfaac.c +++ b/ext/faac/gstfaac.c @@ -202,7 +202,7 @@ gst_faac_class_init (GstFaacClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (gstelement_class, "AAC audio encoder", + gst_element_class_set_static_metadata (gstelement_class, "AAC audio encoder", "Codec/Encoder/Audio", "Free MPEG-2/4 AAC encoder", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index c5da323d5..79269e9bd 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -157,7 +157,7 @@ gst_faad_class_init (GstFaadClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, "AAC audio decoder", + gst_element_class_set_static_metadata (element_class, "AAC audio decoder", "Codec/Decoder/Audio", "Free MPEG-2/4 AAC decoder", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/ext/flite/gstflitetestsrc.c b/ext/flite/gstflitetestsrc.c index 1fcf5acbd..9ab11dd75 100644 --- a/ext/flite/gstflitetestsrc.c +++ b/ext/flite/gstflitetestsrc.c @@ -129,7 +129,7 @@ gst_flite_test_src_class_init (GstFliteTestSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_flite_test_src_src_template)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Flite speech test source", "Source/Audio", "Creates audio test signals identifying channels", "David Schleef <ds@schleef.org>"); diff --git a/ext/gme/gstgme.c b/ext/gme/gstgme.c index 6e7f15a0f..0afe568e0 100644 --- a/ext/gme/gstgme.c +++ b/ext/gme/gstgme.c @@ -86,7 +86,7 @@ gst_gme_dec_class_init (GstGmeDecClass * klass) gobject_class->dispose = gst_gme_dec_dispose; - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Gaming console music file decoder", "Codec/Audio/Decoder", "Uses libgme to emulate a gaming console sound processors", "Chris Lee <clee@kde.org>, Brian Koropoff <bkoropoff@gmail.com>, " diff --git a/ext/gsettings/gstgsettingsaudiosink.c b/ext/gsettings/gstgsettingsaudiosink.c index d2974f6dd..70c3b8f36 100644 --- a/ext/gsettings/gstgsettingsaudiosink.c +++ b/ext/gsettings/gstgsettingsaudiosink.c @@ -329,7 +329,7 @@ gst_gsettings_audio_sink_base_init (gpointer klass) { GstElementClass *eklass = GST_ELEMENT_CLASS (klass); - gst_element_class_set_metadata (eklass, "GSettings audio sink", + gst_element_class_set_static_metadata (eklass, "GSettings audio sink", "Sink/Audio", "Audio sink embedding the GSettings preferences for audio output", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/ext/gsettings/gstgsettingsaudiosrc.c b/ext/gsettings/gstgsettingsaudiosrc.c index 9e5003115..75d32c57b 100644 --- a/ext/gsettings/gstgsettingsaudiosrc.c +++ b/ext/gsettings/gstgsettingsaudiosrc.c @@ -228,7 +228,7 @@ gst_gsettings_audio_src_base_init (gpointer klass) { GstElementClass *eklass = GST_ELEMENT_CLASS (klass); - gst_element_class_set_metadata (eklass, "GSettings audio src", + gst_element_class_set_static_metadata (eklass, "GSettings audio src", "Src/Audio", "Audio src embedding the GSettings preferences for audio input", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/ext/gsettings/gstgsettingsvideosink.c b/ext/gsettings/gstgsettingsvideosink.c index 6c9c7fbd9..51deb8958 100644 --- a/ext/gsettings/gstgsettingsvideosink.c +++ b/ext/gsettings/gstgsettingsvideosink.c @@ -228,7 +228,7 @@ gst_gsettings_video_sink_base_init (gpointer klass) { GstElementClass *eklass = GST_ELEMENT_CLASS (klass); - gst_element_class_set_metadata (eklass, "GSettings video sink", + gst_element_class_set_static_metadata (eklass, "GSettings video sink", "Sink/Video", "Video sink embedding the GSettings preferences for video input", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/ext/gsettings/gstgsettingsvideosrc.c b/ext/gsettings/gstgsettingsvideosrc.c index 54aafe531..4913126b1 100644 --- a/ext/gsettings/gstgsettingsvideosrc.c +++ b/ext/gsettings/gstgsettingsvideosrc.c @@ -228,7 +228,7 @@ gst_gsettings_video_src_base_init (gpointer klass) { GstElementClass *eklass = GST_ELEMENT_CLASS (klass); - gst_element_class_set_metadata (eklass, "GSettings video src", + gst_element_class_set_static_metadata (eklass, "GSettings video src", "Src/Video", "Video src embedding the GSettings preferences for video input", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c index d6d916649..4f9682f25 100644 --- a/ext/gsm/gstgsmdec.c +++ b/ext/gsm/gstgsmdec.c @@ -88,7 +88,7 @@ gst_gsmdec_class_init (GstGSMDecClass * klass) gst_static_pad_template_get (&gsmdec_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gsmdec_src_template)); - gst_element_class_set_metadata (element_class, "GSM audio decoder", + gst_element_class_set_static_metadata (element_class, "GSM audio decoder", "Codec/Decoder/Audio", "Decodes GSM encoded audio", "Philippe Khalaf <burger@speedy.org>"); diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c index 539d076c8..addec53a7 100644 --- a/ext/gsm/gstgsmenc.c +++ b/ext/gsm/gstgsmenc.c @@ -82,7 +82,7 @@ gst_gsmenc_class_init (GstGSMEncClass * klass) gst_static_pad_template_get (&gsmenc_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gsmenc_src_template)); - gst_element_class_set_metadata (element_class, "GSM audio encoder", + gst_element_class_set_static_metadata (element_class, "GSM audio encoder", "Codec/Encoder/Audio", "Encodes GSM audio", "Philippe Khalaf <burger@speedy.org>"); diff --git a/ext/jasper/gstjasperdec.c b/ext/jasper/gstjasperdec.c index 2052cc506..cb81f502c 100644 --- a/ext/jasper/gstjasperdec.c +++ b/ext/jasper/gstjasperdec.c @@ -96,7 +96,7 @@ gst_jasper_dec_base_init (gpointer g_class) gst_static_pad_template_get (&gst_jasper_dec_src_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_jasper_dec_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Jasper JPEG2000 image decoder", "Codec/Decoder/Image", "Decodes JPEG2000 encoded images using jasper", "Mark Nauwelaerts <mnauw@users.sf.net>"); diff --git a/ext/jasper/gstjasperenc.c b/ext/jasper/gstjasperenc.c index 3da86d6b3..c812ddb66 100644 --- a/ext/jasper/gstjasperenc.c +++ b/ext/jasper/gstjasperenc.c @@ -100,7 +100,7 @@ gst_jasper_enc_base_init (gpointer g_class) gst_static_pad_template_get (&gst_jasper_enc_src_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_jasper_enc_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Jasper JPEG2000 image encoder", "Codec/Encoder/Image", "Encodes video to JPEG2000 using jasper", "Mark Nauwelaerts <mnauw@users.sf.net>"); diff --git a/ext/kate/gstkatedec.c b/ext/kate/gstkatedec.c index b45103fb5..c94166c71 100644 --- a/ext/kate/gstkatedec.c +++ b/ext/kate/gstkatedec.c @@ -161,7 +161,7 @@ gst_kate_dec_class_init (GstKateDecClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Kate stream text decoder", "Codec/Decoder/Subtitle", "Decodes Kate text streams", "Vincent Penquerc'h <ogg.k.ogg.k@googlemail.com>"); diff --git a/ext/kate/gstkateenc.c b/ext/kate/gstkateenc.c index 7dbd03037..806325edb 100644 --- a/ext/kate/gstkateenc.c +++ b/ext/kate/gstkateenc.c @@ -216,8 +216,8 @@ gst_kate_enc_class_init (GstKateEncClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, "Kate stream encoder", - "Codec/Encoder/Subtitle", + gst_element_class_set_static_metadata (gstelement_class, + "Kate stream encoder", "Codec/Encoder/Subtitle", "Encodes Kate streams from text or subpictures", "Vincent Penquerc'h <ogg.k.ogg.k@googlemail.com>"); } diff --git a/ext/kate/gstkateparse.c b/ext/kate/gstkateparse.c index e7eab4fdd..80cfc560e 100644 --- a/ext/kate/gstkateparse.c +++ b/ext/kate/gstkateparse.c @@ -111,7 +111,7 @@ gst_kate_parse_class_init (GstKateParseClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_kate_parse_sink_factory)); - gst_element_class_set_metadata (gstelement_class, "Kate stream parser", + gst_element_class_set_static_metadata (gstelement_class, "Kate stream parser", "Codec/Parser/Subtitle", "parse raw kate streams", "Vincent Penquerc'h <ogg.k.ogg.k at googlemail dot com>"); diff --git a/ext/kate/gstkatetag.c b/ext/kate/gstkatetag.c index 00aafa0a8..b2303d836 100644 --- a/ext/kate/gstkatetag.c +++ b/ext/kate/gstkatetag.c @@ -136,7 +136,7 @@ gst_kate_tag_class_init (GstKateTagClass * klass) "Set the height of the canvas this stream was authored for (0 is unspecified)", 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, "Kate stream tagger", + gst_element_class_set_static_metadata (gstelement_class, "Kate stream tagger", "Formatter/Metadata", "Retags kate streams", "Vincent Penquerc'h <ogg.k.ogg.k@googlemail.com>"); diff --git a/ext/kate/gstkatetiger.c b/ext/kate/gstkatetiger.c index d68595098..1333b7536 100644 --- a/ext/kate/gstkatetiger.c +++ b/ext/kate/gstkatetiger.c @@ -225,7 +225,7 @@ gst_kate_tiger_base_init (gpointer gclass) gst_static_pad_template_get (&kate_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, "Kate stream renderer", + gst_element_class_set_static_metadata (element_class, "Kate stream renderer", "Mixer/Video/Overlay/Subtitle", "Decodes and renders Kate streams on top of a video", "Vincent Penquerc'h <ogg.k.ogg.k@googlemail.com>"); diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c index 723c71e2c..54a5cae7c 100644 --- a/ext/libfame/gstlibfame.c +++ b/ext/libfame/gstlibfame.c @@ -177,7 +177,7 @@ gst_fameenc_base_init (GstFameEncClass * 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, "MPEG-1 and MPEG-4 video encoder", "Codec/Encoder/Video", "Uses fameenc to encode MPEG video streams", "Thomas Vander Stichele <thomas@apestaart.org>"); diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index c59a17f57..093b0eda9 100644 --- a/ext/libmms/gstmms.c +++ b/ext/libmms/gstmms.c @@ -103,7 +103,7 @@ gst_mms_class_init (GstMMSClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&src_factory)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "MMS streaming source", "Source/Network", "Receive data streamed via MSFT Multi Media Server protocol", "Maciej Katafiasz <mathrick@users.sourceforge.net>"); diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c index 0640b686d..dc536b009 100644 --- a/ext/mimic/gstmimdec.c +++ b/ext/mimic/gstmimdec.c @@ -85,7 +85,7 @@ gst_mim_dec_class_init (GstMimDecClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Mimic Decoder", "Codec/Decoder/Video", "MSN Messenger compatible Mimic video decoder element", diff --git a/ext/mimic/gstmimenc.c b/ext/mimic/gstmimenc.c index f1b26c8f3..61c329aa1 100644 --- a/ext/mimic/gstmimenc.c +++ b/ext/mimic/gstmimenc.c @@ -126,7 +126,7 @@ gst_mim_enc_class_init (GstMimEncClass * klass) gst_static_pad_template_get (&src_factory)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Mimic Encoder", "Codec/Encoder/Video", "MSN Messenger compatible Mimic video encoder element", diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc index 46f125154..c7b2bd1ec 100644 --- a/ext/modplug/gstmodplug.cc +++ b/ext/modplug/gstmodplug.cc @@ -214,7 +214,7 @@ gst_modplug_class_init (GstModPlugClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&modplug_src_template_factory)); - gst_element_class_set_metadata (gstelement_class, "ModPlug", + gst_element_class_set_static_metadata (gstelement_class, "ModPlug", "Codec/Decoder/Audio", "Module decoder based on modplug engine", "Jeremy SIMON <jsimon13@yahoo.fr>"); diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc index 72adbdcfd..68fcab63d 100644 --- a/ext/mpeg2enc/gstmpeg2enc.cc +++ b/ext/mpeg2enc/gstmpeg2enc.cc @@ -132,7 +132,7 @@ gst_mpeg2enc_class_init (GstMpeg2encClass * 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, "mpeg2enc video encoder", "Codec/Encoder/Video", "High-quality MPEG-1/2 video encoder", "Andrew Stevens <andrew.stevens@nexgo.de>\n" diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index 9d0bbebd0..58c05be74 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -142,7 +142,7 @@ gst_mplex_class_init (GstMplexClass * klass) GST_DEBUG_FUNCPTR (gst_mplex_request_new_pad); element_class->release_pad = GST_DEBUG_FUNCPTR (gst_mplex_release_pad); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "mplex video multiplexer", "Codec/Muxer", "High-quality MPEG/DVD/SVCD/VCD video/audio multiplexer", "Andrew Stevens <andrew.stevens@nexgo.de>\n" diff --git a/ext/musepack/gstmusepackdec.c b/ext/musepack/gstmusepackdec.c index 555474ed3..6ea724797 100644 --- a/ext/musepack/gstmusepackdec.c +++ b/ext/musepack/gstmusepackdec.c @@ -88,7 +88,7 @@ gst_musepackdec_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, "Musepack decoder", + gst_element_class_set_static_metadata (element_class, "Musepack decoder", "Codec/Decoder/Audio", "Musepack decoder", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); } diff --git a/ext/musicbrainz/gsttrm.c b/ext/musicbrainz/gsttrm.c index d2e3896d1..aee67ab9a 100644 --- a/ext/musicbrainz/gsttrm.c +++ b/ext/musicbrainz/gsttrm.c @@ -117,7 +117,7 @@ gst_trm_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, + gst_element_class_set_static_metadata (element_class, "MusicBrainz TRM generator", "Filter/Analyzer/Audio", "Compute MusicBrainz TRM Id using libmusicbrainz", "Jeremy Simon <jsimon13@yahoo.fr>"); diff --git a/ext/mythtv/gstmythtvsrc.c b/ext/mythtv/gstmythtvsrc.c index c0a209ba6..a87d48345 100644 --- a/ext/mythtv/gstmythtvsrc.c +++ b/ext/mythtv/gstmythtvsrc.c @@ -159,7 +159,7 @@ GST_BOILERPLATE_FULL (GstMythtvSrc, gst_mythtv_src, GstPushSrc, gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&srctemplate)); - gst_element_class_set_metadata (element_class, "MythTV client source", + gst_element_class_set_static_metadata (element_class, "MythTV client source", "Source/Network", "Control and receive data as a client over the network " "via raw socket connections using the MythTV protocol", diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c index 739814bc9..4fe32570e 100644 --- a/ext/nas/nassink.c +++ b/ext/nas/nassink.c @@ -96,7 +96,7 @@ gst_nas_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (element_class, "NAS audio sink", + gst_element_class_set_static_metadata (element_class, "NAS audio sink", "Sink/Audio", "Plays audio to a Network Audio Server", "Laurent Vivier <Laurent.Vivier@bull.net>, " diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index 83c2714b1..bf8617be2 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -130,7 +130,7 @@ gst_neonhttp_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, "HTTP client source", + gst_element_class_set_static_metadata (element_class, "HTTP client source", "Source/Network", "Receive data as a client over the network via HTTP using NEON", "Edgard Lima <edgard.lima@indt.org.br>, " diff --git a/ext/ofa/gstofa.c b/ext/ofa/gstofa.c index eecc1352a..3a78a892c 100644 --- a/ext/ofa/gstofa.c +++ b/ext/ofa/gstofa.c @@ -65,7 +65,7 @@ gst_ofa_base_init (gpointer g_class) GstAudioFilterClass *audio_filter_class = (GstAudioFilterClass *) g_class; GstCaps *caps; - gst_element_class_set_metadata (gstelement_class, "OFA", + gst_element_class_set_static_metadata (gstelement_class, "OFA", "MusicIP Fingerprinting element", "Find a music fingerprint using MusicIP's libofa", "Milosz Derezynski <internalerror@gmail.com>, Eric Buehl <eric.buehl@gmail.com>"); diff --git a/ext/openal/gstopenalsink.c b/ext/openal/gstopenalsink.c index 6d7ffd255..aaad00a6b 100644 --- a/ext/openal/gstopenalsink.c +++ b/ext/openal/gstopenalsink.c @@ -168,7 +168,7 @@ gst_openal_sink_base_init (gpointer gclass) GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); GstPadTemplate *pad_template; - gst_element_class_set_metadata (element_class, "Audio sink (OpenAL)", + gst_element_class_set_static_metadata (element_class, "Audio sink (OpenAL)", "Sink/Audio", "Output to a sound device via OpenAL", "Chris Robinson <chris.kcat@gmail.com>"); diff --git a/ext/openal/gstopenalsrc.c b/ext/openal/gstopenalsrc.c index 4313022a9..f82d594c6 100644 --- a/ext/openal/gstopenalsrc.c +++ b/ext/openal/gstopenalsrc.c @@ -137,7 +137,7 @@ gst_openal_src_base_init (gpointer gclass) GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_metadata (element_class, "OpenAL src", + gst_element_class_set_static_metadata (element_class, "OpenAL src", "Source/Audio", "OpenAL source capture audio from device", "Victor Lin <bornstub@gmail.com>"); diff --git a/ext/opencv/gstcvdilate.c b/ext/opencv/gstcvdilate.c index fae3ec2fc..09b3de4a2 100644 --- a/ext/opencv/gstcvdilate.c +++ b/ext/opencv/gstcvdilate.c @@ -70,7 +70,7 @@ gst_cv_dilate_class_init (GstCvDilateClass * klass) gstopencvbasefilter_class->cv_trans_ip_func = gst_cv_dilate_transform_ip; gstopencvbasefilter_class->cv_trans_func = gst_cv_dilate_transform; - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "cvdilate", "Transform/Effect/Video", "Applies cvDilate OpenCV function to the image", diff --git a/ext/opencv/gstcvequalizehist.c b/ext/opencv/gstcvequalizehist.c index 76a49a249..c6e4e849d 100644 --- a/ext/opencv/gstcvequalizehist.c +++ b/ext/opencv/gstcvequalizehist.c @@ -85,7 +85,7 @@ gst_cv_equalize_hist_class_init (GstCvEqualizeHistClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "cvequalizehist", "Transform/Effect/Video", "Applies cvEqualizeHist OpenCV function to the image", diff --git a/ext/opencv/gstcverode.c b/ext/opencv/gstcverode.c index b376d1d84..69794edaa 100644 --- a/ext/opencv/gstcverode.c +++ b/ext/opencv/gstcverode.c @@ -70,7 +70,7 @@ gst_cv_erode_class_init (GstCvErodeClass * klass) gstopencvbasefilter_class->cv_trans_ip_func = gst_cv_erode_transform_ip; gstopencvbasefilter_class->cv_trans_func = gst_cv_erode_transform; - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "cverode", "Transform/Effect/Video", "Applies cvErode OpenCV function to the image", diff --git a/ext/opencv/gstcvlaplace.c b/ext/opencv/gstcvlaplace.c index 9a854903d..7ecd52434 100644 --- a/ext/opencv/gstcvlaplace.c +++ b/ext/opencv/gstcvlaplace.c @@ -148,7 +148,7 @@ gst_cv_laplace_class_init (GstCvLaplaceClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "cvlaplace", "Transform/Effect/Video", "Applies cvLaplace OpenCV function to the image", diff --git a/ext/opencv/gstcvsmooth.c b/ext/opencv/gstcvsmooth.c index 439de9eeb..b1b405ade 100644 --- a/ext/opencv/gstcvsmooth.c +++ b/ext/opencv/gstcvsmooth.c @@ -175,7 +175,7 @@ gst_cv_smooth_class_init (GstCvSmoothClass * klass) 0, G_MAXDOUBLE, DEFAULT_PARAM4, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "cvsmooth", "Transform/Effect/Video", "Applies cvSmooth OpenCV function to the image", diff --git a/ext/opencv/gstcvsobel.c b/ext/opencv/gstcvsobel.c index 414ed569d..a31c9bfec 100644 --- a/ext/opencv/gstcvsobel.c +++ b/ext/opencv/gstcvsobel.c @@ -143,7 +143,7 @@ gst_cv_sobel_class_init (GstCvSobelClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "cvsobel", "Transform/Effect/Video", "Applies cvSobel OpenCV function to the image", diff --git a/ext/opencv/gstedgedetect.c b/ext/opencv/gstedgedetect.c index a4b806fc2..91b63bf7f 100644 --- a/ext/opencv/gstedgedetect.c +++ b/ext/opencv/gstedgedetect.c @@ -158,7 +158,7 @@ gst_edge_detect_class_init (GstEdgeDetectClass * klass) "Aperture size for Sobel operator (Must be either 3, 5 or 7", 3, 7, 3, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "edgedetect", "Filter/Effect/Video", "Performs canny edge detection on videos and images.", diff --git a/ext/opencv/gstfaceblur.c b/ext/opencv/gstfaceblur.c index c0a6c5961..51c7fe01c 100644 --- a/ext/opencv/gstfaceblur.c +++ b/ext/opencv/gstfaceblur.c @@ -147,7 +147,7 @@ gst_face_blur_class_init (GstFaceBlurClass * klass) "Location of Haar cascade file to use for face blurion", DEFAULT_PROFILE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "faceblur", "Filter/Effect/Video", "Blurs faces in images and videos", diff --git a/ext/opencv/gstfacedetect.c b/ext/opencv/gstfacedetect.c index 66c5a9229..0665c17af 100644 --- a/ext/opencv/gstfacedetect.c +++ b/ext/opencv/gstfacedetect.c @@ -270,7 +270,7 @@ gst_face_detect_class_init (GstFaceDetectClass * klass) "Minimum area height to be recognized as a face", 0, G_MAXINT, DEFAULT_MIN_SIZE_HEIGHT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "facedetect", "Filter/Effect/Video", "Performs face detection on videos and images, providing detected positions via bus messages", diff --git a/ext/opencv/gstmotioncells.c b/ext/opencv/gstmotioncells.c index efd53a3fa..1d709771c 100644 --- a/ext/opencv/gstmotioncells.c +++ b/ext/opencv/gstmotioncells.c @@ -304,7 +304,7 @@ gst_motion_cells_class_init (GstMotioncellsClass * klass) THICKNESS_MIN, THICKNESS_MAX, THICKNESS_DEF, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "motioncells", "Filter/Effect/Video", "Performs motion detection on videos and images, providing detected motion cells index via bus messages", diff --git a/ext/opencv/gstpyramidsegment.c b/ext/opencv/gstpyramidsegment.c index 2eb4dd3c2..ed249a548 100644 --- a/ext/opencv/gstpyramidsegment.c +++ b/ext/opencv/gstpyramidsegment.c @@ -162,7 +162,7 @@ gst_pyramid_segment_class_init (GstPyramidSegmentClass * klass) "Maximum level of the pyramid segmentation", 0, 4, 4, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "pyramidsegment", "Filter/Effect/Video", "Applies pyramid segmentation to a video or image.", diff --git a/ext/opencv/gsttemplatematch.c b/ext/opencv/gsttemplatematch.c index 92d85002d..405c7868c 100644 --- a/ext/opencv/gsttemplatematch.c +++ b/ext/opencv/gsttemplatematch.c @@ -144,7 +144,7 @@ gst_template_match_class_init (GstTemplateMatchClass * klass) "Sets whether the detected template should be highlighted in the output", TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "templatematch", "Filter/Effect/Video", "Performs template matching on videos and images, providing detected positions via bus messages.", diff --git a/ext/opencv/gsttextoverlay.c b/ext/opencv/gsttextoverlay.c index 5e3aeea6c..5ec9a6c91 100644 --- a/ext/opencv/gsttextoverlay.c +++ b/ext/opencv/gsttextoverlay.c @@ -200,7 +200,7 @@ gst_opencv_text_overlay_class_init (GstOpencvTextOverlayClass * klass) "Sets the width of fonts", 1.0, 5.0, DEFAULT_WIDTH, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "opencvtextoverlay", "Filter/Effect/Video", "Write text on the top of video", "sreerenj<bsreerenj@gmail.com>"); @@ -351,7 +351,8 @@ gst_opencv_text_overlay_handle_sink_event (GstPad * pad, GstObject * parent, gst_structure_get_int (structure, "height", &height); if (!filter->cvImage) { - filter->cvImage = cvCreateImage (cvSize (width, height), IPL_DEPTH_8U, 3); + filter->cvImage = + cvCreateImage (cvSize (width, height), IPL_DEPTH_8U, 3); filter->cvStorage = cvCreateMemStorage (0); } break; diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c index c4335265f..66e4b5d85 100644 --- a/ext/opus/gstopusdec.c +++ b/ext/opus/gstopusdec.c @@ -121,7 +121,7 @@ gst_opus_dec_class_init (GstOpusDecClass * klass) gst_static_pad_template_get (&opus_dec_src_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&opus_dec_sink_factory)); - gst_element_class_set_metadata (element_class, "Opus audio decoder", + gst_element_class_set_static_metadata (element_class, "Opus audio decoder", "Codec/Decoder/Audio", "decode opus streams to audio", "Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>"); diff --git a/ext/opus/gstopusenc.c b/ext/opus/gstopusenc.c index a33f0e45a..f6f83788b 100644 --- a/ext/opus/gstopusenc.c +++ b/ext/opus/gstopusenc.c @@ -205,7 +205,7 @@ gst_opus_enc_class_init (GstOpusEncClass * klass) gst_static_pad_template_get (&src_factory)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, "Opus audio encoder", + gst_element_class_set_static_metadata (gstelement_class, "Opus audio encoder", "Codec/Encoder/Audio", "Encodes audio in Opus format", "Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>"); diff --git a/ext/opus/gstopusparse.c b/ext/opus/gstopusparse.c index 740dbb1fa..69ddb1797 100644 --- a/ext/opus/gstopusparse.c +++ b/ext/opus/gstopusparse.c @@ -88,7 +88,7 @@ gst_opus_parse_class_init (GstOpusParseClass * klass) gst_static_pad_template_get (&opus_parse_src_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&opus_parse_sink_factory)); - gst_element_class_set_metadata (element_class, "Opus audio parser", + gst_element_class_set_static_metadata (element_class, "Opus audio parser", "Codec/Parser/Audio", "parses opus audio streams", "Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>"); diff --git a/ext/opus/gstrtpopusdepay.c b/ext/opus/gstrtpopusdepay.c index dba1c1456..8d89e282a 100644 --- a/ext/opus/gstrtpopusdepay.c +++ b/ext/opus/gstrtpopusdepay.c @@ -70,7 +70,7 @@ gst_rtp_opus_depay_class_init (GstRTPOpusDepayClass * klass) gst_static_pad_template_get (&gst_rtp_opus_depay_src_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rtp_opus_depay_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "RTP Opus packet depayloader", "Codec/Depayloader/Network/RTP", "Extracts Opus audio from RTP packets", "Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>"); diff --git a/ext/opus/gstrtpopuspay.c b/ext/opus/gstrtpopuspay.c index e1781e1b0..cb3279c2a 100644 --- a/ext/opus/gstrtpopuspay.c +++ b/ext/opus/gstrtpopuspay.c @@ -75,7 +75,7 @@ gst_rtp_opus_pay_class_init (GstRtpOPUSPayClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rtp_opus_pay_sink_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "RTP Opus payloader", "Codec/Payloader/Network/RTP", "Puts Opus audio in RTP packets", diff --git a/ext/resindvd/gstmpegdemux.c b/ext/resindvd/gstmpegdemux.c index bd1d870f3..a03eab3a9 100644 --- a/ext/resindvd/gstmpegdemux.c +++ b/ext/resindvd/gstmpegdemux.c @@ -185,7 +185,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, "MPEG Program Demuxer", "Codec/Demuxer", "Demultiplexes MPEG Program Streams", "Jan Schmidt <thaytan@noraisin.net>"); diff --git a/ext/resindvd/resindvdbin.c b/ext/resindvd/resindvdbin.c index 8cff8fb32..ec6d61933 100644 --- a/ext/resindvd/resindvdbin.c +++ b/ext/resindvd/resindvdbin.c @@ -127,7 +127,7 @@ rsn_dvdbin_class_init (RsnDvdBinClass * klass) element_class->change_state = GST_DEBUG_FUNCPTR (rsn_dvdbin_change_state); - gst_element_class_set_metadata (element_class, "rsndvdbin", + gst_element_class_set_static_metadata (element_class, "rsndvdbin", "Generic/Bin/Player", "DVD playback element", "Jan Schmidt <thaytan@noraisin.net>"); } diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c index 1bfb78419..44eb4793a 100644 --- a/ext/resindvd/resindvdsrc.c +++ b/ext/resindvd/resindvdsrc.c @@ -231,7 +231,7 @@ rsn_dvdsrc_class_init (resinDvdSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&src_factory)); - gst_element_class_set_metadata (gstelement_class, "Resin DVD Src", + gst_element_class_set_static_metadata (gstelement_class, "Resin DVD Src", "Source/DVD", "DVD source element", "Jan Schmidt <thaytan@noraisin.net>"); } diff --git a/ext/resindvd/rsndec.c b/ext/resindvd/rsndec.c index 81e15d6d4..3f72426c0 100644 --- a/ext/resindvd/rsndec.c +++ b/ext/resindvd/rsndec.c @@ -410,7 +410,7 @@ rsn_audiodec_class_init (RsnAudioDecClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&audio_sink_template)); - gst_element_class_set_metadata (element_class, "RsnAudioDec", + gst_element_class_set_static_metadata (element_class, "RsnAudioDec", "Audio/Decoder", "Resin DVD audio stream decoder", "Jan Schmidt <thaytan@noraisin.net>"); @@ -460,7 +460,7 @@ rsn_videodec_class_init (RsnAudioDecClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&video_sink_template)); - gst_element_class_set_metadata (element_class, "RsnVideoDec", + gst_element_class_set_static_metadata (element_class, "RsnVideoDec", "Video/Decoder", "Resin DVD video stream decoder", "Jan Schmidt <thaytan@noraisin.net>"); diff --git a/ext/resindvd/rsnparsetter.c b/ext/resindvd/rsnparsetter.c index 0f2361ac8..a7146584a 100644 --- a/ext/resindvd/rsnparsetter.c +++ b/ext/resindvd/rsnparsetter.c @@ -60,7 +60,7 @@ rsn_parsetter_class_init (RsnParSetterClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Resin Aspect Ratio Setter", "Filter/Video", "Overrides caps on video buffers to force a particular display ratio", "Jan Schmidt <thaytan@noraisin.net>"); diff --git a/ext/rsvg/gstrsvgdec.c b/ext/rsvg/gstrsvgdec.c index 4ad957215..f032124dc 100644 --- a/ext/rsvg/gstrsvgdec.c +++ b/ext/rsvg/gstrsvgdec.c @@ -77,7 +77,7 @@ gst_rsvg_dec_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, "SVG image decoder", "Codec/Decoder/Image", "Uses librsvg to decode SVG images", "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); diff --git a/ext/rsvg/gstrsvgoverlay.c b/ext/rsvg/gstrsvgoverlay.c index 31e7f6f01..64d2e1e02 100644 --- a/ext/rsvg/gstrsvgoverlay.c +++ b/ext/rsvg/gstrsvgoverlay.c @@ -458,7 +458,7 @@ gst_rsvg_overlay_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&data_sink_template)); - gst_element_class_set_metadata (element_class, "RSVG overlay", + gst_element_class_set_static_metadata (element_class, "RSVG overlay", "Filter/Editor/Video", "Overlays SVG graphics over a video stream", "Olivier Aubert <olivier.aubert@liris.cnrs.fr>"); diff --git a/ext/rtmp/gstrtmpsink.c b/ext/rtmp/gstrtmpsink.c index 83d97a10b..bef7d0665 100644 --- a/ext/rtmp/gstrtmpsink.c +++ b/ext/rtmp/gstrtmpsink.c @@ -102,7 +102,7 @@ gst_rtmp_sink_class_init (GstRTMPSinkClass * klass) g_param_spec_string ("location", "RTMP Location", "RTMP url", DEFAULT_LOCATION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "RTMP output sink", "Sink/Network", "Sends FLV content to a server via RTMP", "Jan Schmidt <thaytan@noraisin.net>"); diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c index b22ba958e..c1a5845a7 100644 --- a/ext/rtmp/gstrtmpsrc.c +++ b/ext/rtmp/gstrtmpsrc.c @@ -127,7 +127,7 @@ gst_rtmp_src_class_init (GstRTMPSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&srctemplate)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "RTMP Source", "Source/File", "Read RTMP streams", diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c index cd12d8bca..508c77429 100644 --- a/ext/schroedinger/gstschrodec.c +++ b/ext/schroedinger/gstschrodec.c @@ -129,7 +129,7 @@ gst_schro_dec_class_init (GstSchroDecClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_schro_dec_sink_template)); - gst_element_class_set_metadata (element_class, "Dirac Decoder", + gst_element_class_set_static_metadata (element_class, "Dirac Decoder", "Codec/Decoder/Video", "Decode Dirac streams", "David Schleef <ds@schleef.org>"); diff --git a/ext/schroedinger/gstschroenc.c b/ext/schroedinger/gstschroenc.c index 04fabf418..7173a25b3 100644 --- a/ext/schroedinger/gstschroenc.c +++ b/ext/schroedinger/gstschroenc.c @@ -219,7 +219,7 @@ gst_schro_enc_class_init (GstSchroEncClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_schro_enc_sink_template)); - gst_element_class_set_metadata (element_class, "Dirac Encoder", + gst_element_class_set_static_metadata (element_class, "Dirac Encoder", "Codec/Encoder/Video", "Encode raw video into Dirac stream", "David Schleef <ds@schleef.org>"); diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c index e5279e51f..87dd73096 100644 --- a/ext/sdl/sdlaudiosink.c +++ b/ext/sdl/sdlaudiosink.c @@ -146,7 +146,7 @@ gst_sdlaudio_sink_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "SDL audio sink", + gst_element_class_set_static_metadata (element_class, "SDL audio sink", "Sink/Audio", "Output to a sound card via SDLAUDIO", "Edgard Lima <edgard.lima@indt.org.br>"); diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index e976466a2..ffc70c36f 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -152,7 +152,7 @@ gst_sdlvideosink_base_init (gpointer g_class) GST_PAD_SINK, GST_PAD_ALWAYS, capslist); gst_element_class_add_pad_template (element_class, sink_template); - gst_element_class_set_metadata (element_class, "SDL video sink", + gst_element_class_set_static_metadata (element_class, "SDL video sink", "Sink/Video", "An SDL-based videosink", "Ronald Bultje <rbultje@ronald.bitfreak.net>, " "Edgard Lima <edgard.lima@indt.org.br>, " diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c index f60ef1b60..0d3c545d5 100644 --- a/ext/snapshot/gstsnapshot.c +++ b/ext/snapshot/gstsnapshot.c @@ -121,7 +121,7 @@ gst_snapshot_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&snapshot_src_factory)); - gst_element_class_set_metadata (element_class, "Snapshot", + gst_element_class_set_static_metadata (element_class, "Snapshot", "Filter/Editor/Video", "Dump a frame to a png file", "Jeremy SIMON <jsimon13@yahoo.fr>"); } diff --git a/ext/sndfile/gstsfsink.c b/ext/sndfile/gstsfsink.c index acb543685..fafd81efb 100644 --- a/ext/sndfile/gstsfsink.c +++ b/ext/sndfile/gstsfsink.c @@ -86,7 +86,7 @@ gst_sf_sink_base_init (gpointer g_class) GST_DEBUG_CATEGORY_INIT (gst_sf_debug, "sfsink", 0, "sfsink element"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sf_sink_factory)); - gst_element_class_set_metadata (element_class, "Sndfile sink", + gst_element_class_set_static_metadata (element_class, "Sndfile sink", "Sink/Audio", "Write audio streams to disk using libsndfile", "Andy Wingo <wingo at pobox dot com>"); diff --git a/ext/sndfile/gstsfsrc.c b/ext/sndfile/gstsfsrc.c index ae45f9f83..a2dac492a 100644 --- a/ext/sndfile/gstsfsrc.c +++ b/ext/sndfile/gstsfsrc.c @@ -86,7 +86,7 @@ gst_sf_src_base_init (gpointer g_class) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sf_src_factory)); - gst_element_class_set_metadata (gstelement_class, "Sndfile source", + gst_element_class_set_static_metadata (gstelement_class, "Sndfile source", "Source/Audio", "Read audio streams from disk using libsndfile", "Andy Wingo <wingo at pobox dot com>"); diff --git a/ext/sndio/sndiosink.c b/ext/sndio/sndiosink.c index 7b814fab7..d2680a540 100644 --- a/ext/sndio/sndiosink.c +++ b/ext/sndio/sndiosink.c @@ -51,7 +51,7 @@ enum }; static GstStaticPadTemplate sndio_sink_factory = - GST_STATIC_PAD_TEMPLATE ("sink", +GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw-int, " @@ -59,8 +59,7 @@ static GstStaticPadTemplate sndio_sink_factory = "signed = (boolean) { TRUE, FALSE }, " "width = (int) { 8, 16, 24, 32 }, " "depth = (int) { 8, 16, 24, 32 }, " - "rate = (int) [ 8000, 192000 ], " - "channels = (int) [ 1, 16 ] ") + "rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 16 ] ") ); static void gst_sndiosink_finalize (GObject * object); @@ -91,11 +90,10 @@ gst_sndiosink_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, "Sndio audio sink", "Sink/Audio", - "Plays audio through sndio", - "Jacob Meuser <jakemsr@sdf.lonestar.org>"); + "Plays audio through sndio", "Jacob Meuser <jakemsr@sdf.lonestar.org>"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sndio_sink_factory)); @@ -123,8 +121,7 @@ gst_sndiosink_class_init (GstSndioSinkClass * klass) gstaudiosink_class->open = GST_DEBUG_FUNCPTR (gst_sndiosink_open); gstaudiosink_class->close = GST_DEBUG_FUNCPTR (gst_sndiosink_close); gstaudiosink_class->prepare = GST_DEBUG_FUNCPTR (gst_sndiosink_prepare); - gstaudiosink_class->unprepare = - GST_DEBUG_FUNCPTR (gst_sndiosink_unprepare); + gstaudiosink_class->unprepare = GST_DEBUG_FUNCPTR (gst_sndiosink_unprepare); gstaudiosink_class->write = GST_DEBUG_FUNCPTR (gst_sndiosink_write); gstaudiosink_class->delay = GST_DEBUG_FUNCPTR (gst_sndiosink_delay); gstaudiosink_class->reset = GST_DEBUG_FUNCPTR (gst_sndiosink_reset); @@ -139,8 +136,7 @@ gst_sndiosink_class_init (GstSndioSinkClass * klass) } static void -gst_sndiosink_init (GstSndioSink * sndiosink, - GstSndioSinkClass * klass) +gst_sndiosink_init (GstSndioSink * sndiosink, GstSndioSinkClass * klass) { sndiosink->hdl = NULL; sndiosink->host = g_strdup (g_getenv ("AUDIODEVICE")); @@ -170,8 +166,7 @@ gst_sndiosink_getcaps (GstBaseSink * bsink) return NULL; } - GST_LOG_OBJECT (sndiosink, "returning %" GST_PTR_FORMAT, - sndiosink->cur_caps); + GST_LOG_OBJECT (sndiosink, "returning %" GST_PTR_FORMAT, sndiosink->cur_caps); return gst_caps_ref (sndiosink->cur_caps); } diff --git a/ext/sndio/sndiosrc.c b/ext/sndio/sndiosrc.c index cd209a09e..19776c2db 100644 --- a/ext/sndio/sndiosrc.c +++ b/ext/sndio/sndiosrc.c @@ -50,8 +50,7 @@ enum PROP_HOST }; -static GstStaticPadTemplate sndio_src_factory = - GST_STATIC_PAD_TEMPLATE ("src", +static GstStaticPadTemplate sndio_src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw-int, " @@ -59,8 +58,7 @@ static GstStaticPadTemplate sndio_src_factory = "signed = (boolean) { TRUE, FALSE }, " "width = (int) { 8, 16, 24, 32 }, " "depth = (int) { 8, 16, 24, 32 }, " - "rate = (int) [ 8000, 192000 ], " - "channels = (int) [ 1, 16 ] ") + "rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 16 ] ") ); static void gst_sndiosrc_finalize (GObject * object); @@ -83,19 +81,17 @@ static void gst_sndiosrc_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); static void gst_sndiosrc_cb (void *addr, int delta); -GST_BOILERPLATE (GstSndioSrc, gst_sndiosrc, GstAudioSrc, - GST_TYPE_AUDIO_SRC); +GST_BOILERPLATE (GstSndioSrc, gst_sndiosrc, GstAudioSrc, GST_TYPE_AUDIO_SRC); static void gst_sndiosrc_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, "Sndio audio source", "Source/Audio", - "Records audio through sndio", - "Jacob Meuser <jakemsr@sdf.lonestar.org>"); + "Records audio through sndio", "Jacob Meuser <jakemsr@sdf.lonestar.org>"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sndio_src_factory)); @@ -168,8 +164,7 @@ gst_sndiosrc_getcaps (GstBaseSrc * bsrc) return NULL; } - GST_LOG_OBJECT (sndiosrc, "returning %" GST_PTR_FORMAT, - sndiosrc->cur_caps); + GST_LOG_OBJECT (sndiosrc, "returning %" GST_PTR_FORMAT, sndiosrc->cur_caps); return gst_caps_ref (sndiosrc->cur_caps); } @@ -301,8 +296,7 @@ gst_sndiosrc_open (GstAudioSrc * asrc) g_array_free (chans, TRUE); pad_template = gst_static_pad_template_get (&sndio_src_factory); - sndiosrc->cur_caps = - gst_caps_copy (gst_pad_template_get_caps (pad_template)); + sndiosrc->cur_caps = gst_caps_copy (gst_pad_template_get_caps (pad_template)); gst_object_unref (pad_template); for (i = 0; i < sndiosrc->cur_caps->structs->len; i++) { diff --git a/ext/soundtouch/gstbpmdetect.cc b/ext/soundtouch/gstbpmdetect.cc index fec45c960..e9d6f11a8 100644 --- a/ext/soundtouch/gstbpmdetect.cc +++ b/ext/soundtouch/gstbpmdetect.cc @@ -87,7 +87,7 @@ gst_bpm_detect_class_init (GstBPMDetectClass * klass) gobject_class->finalize = gst_bpm_detect_finalize; - gst_element_class_set_metadata (element_class, "BPM Detector", + gst_element_class_set_static_metadata (element_class, "BPM Detector", "Filter/Analyzer/Audio", "Detect the BPM of an audio stream", "Sebastian Dröge <slomo@circular-chaos.org>"); diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc index 1f8ca9e64..7ce865cd2 100644 --- a/ext/soundtouch/gstpitch.cc +++ b/ext/soundtouch/gstpitch.cc @@ -152,7 +152,7 @@ gst_pitch_class_init (GstPitchClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_pitch_sink_template)); - gst_element_class_set_metadata (element_class, "Pitch controller", + gst_element_class_set_static_metadata (element_class, "Pitch controller", "Filter/Effect/Audio", "Control the pitch of an audio stream", "Wouter Paesen <wouter@blue-gate.be>"); } diff --git a/ext/spandsp/gstspanplc.c b/ext/spandsp/gstspanplc.c index 4924117ae..f30f58c8f 100644 --- a/ext/spandsp/gstspanplc.c +++ b/ext/spandsp/gstspanplc.c @@ -78,7 +78,7 @@ gst_span_plc_class_init (GstSpanPlcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_factory)); - gst_element_class_set_metadata (gstelement_class, "SpanDSP PLC", + gst_element_class_set_static_metadata (gstelement_class, "SpanDSP PLC", "Filter/Effect/Audio", "Adds packet loss concealment to audio", "Youness Alaoui <youness.alaoui@collabora.co.uk>"); diff --git a/ext/spc/gstspc.c b/ext/spc/gstspc.c index 48c14b929..bd4ea93ec 100644 --- a/ext/spc/gstspc.c +++ b/ext/spc/gstspc.c @@ -76,7 +76,7 @@ gst_spc_dec_class_init (GstSpcDecClass * klass) GstElementClass *element_class = (GstElementClass *) klass; GObjectClass *gobject_class = (GObjectClass *) klass; - gst_element_class_set_metadata (element_class, "OpenSPC SPC decoder", + gst_element_class_set_static_metadata (element_class, "OpenSPC SPC decoder", "Codec/Audio/Decoder", "Uses OpenSPC to emulate an SPC processor", "Chris Lee <clee@kde.org>, Brian Koropoff <bkoropoff@gmail.com>"); diff --git a/ext/swfdec/gstswfdec.c b/ext/swfdec/gstswfdec.c index 17c9dbfd4..a5483e35e 100644 --- a/ext/swfdec/gstswfdec.c +++ b/ext/swfdec/gstswfdec.c @@ -208,7 +208,7 @@ gst_swfdec_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "SWF video decoder", + gst_element_class_set_static_metadata (element_class, "SWF video decoder", "Codec/Decoder/Video", "Uses libswfdec to decode Flash video streams", "David Schleef <ds@schleef.org>"); diff --git a/ext/teletextdec/gstteletextdec.c b/ext/teletextdec/gstteletextdec.c index 79fad6c01..622b972d8 100644 --- a/ext/teletextdec/gstteletextdec.c +++ b/ext/teletextdec/gstteletextdec.c @@ -189,7 +189,7 @@ gst_teletextdec_base_init (gpointer klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "Teletext decoder", "Decoder", "Decode PES or raw VBI stream containing teletext information to RGBA, HTML and text", diff --git a/ext/timidity/gsttimidity.c b/ext/timidity/gsttimidity.c index a82b348c9..dbeb1b6aa 100644 --- a/ext/timidity/gsttimidity.c +++ b/ext/timidity/gsttimidity.c @@ -99,7 +99,7 @@ gst_timidity_base_init (gpointer gclass) 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, "Timidity", + gst_element_class_set_static_metadata (element_class, "Timidity", "Codec/Decoder/Audio", "Midi Synthesizer Element", "Wouter Paesen <wouter@blue-gate.be>"); } diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c index 707e03601..fd4b78adc 100644 --- a/ext/timidity/gstwildmidi.c +++ b/ext/timidity/gstwildmidi.c @@ -128,7 +128,7 @@ gst_wildmidi_base_init (gpointer gclass) 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, "WildMidi", + gst_element_class_set_static_metadata (element_class, "WildMidi", "Codec/Decoder/Audio", "Midi Synthesizer Element", "Wouter Paesen <wouter@blue-gate.be>"); } diff --git a/ext/voaacenc/gstvoaacenc.c b/ext/voaacenc/gstvoaacenc.c index 2c50f4142..84efa0966 100644 --- a/ext/voaacenc/gstvoaacenc.c +++ b/ext/voaacenc/gstvoaacenc.c @@ -164,7 +164,7 @@ gst_voaacenc_class_init (GstVoAacEncClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "AAC audio encoder", + gst_element_class_set_static_metadata (element_class, "AAC audio encoder", "Codec/Encoder/Audio", "AAC audio encoder", "Kan Hu <kan.hu@linaro.org>"); GST_DEBUG_CATEGORY_INIT (gst_voaacenc_debug, "voaacenc", 0, "voaac encoder"); @@ -491,8 +491,7 @@ gst_voaacenc_handle_frame (GstAudioEncoder * benc, GstBuffer * buf) goto encode_failed; } - GST_LOG_OBJECT (voaacenc, "encoded to %lu bytes", - output.Length); + GST_LOG_OBJECT (voaacenc, "encoded to %lu bytes", output.Length); gst_buffer_unmap (buf, &map); gst_buffer_unmap (out, &omap); gst_buffer_resize (out, 0, output.Length); diff --git a/ext/voamrwbenc/gstvoamrwbenc.c b/ext/voamrwbenc/gstvoamrwbenc.c index 696ab2925..c1cd924d2 100644 --- a/ext/voamrwbenc/gstvoamrwbenc.c +++ b/ext/voamrwbenc/gstvoamrwbenc.c @@ -167,7 +167,7 @@ gst_voamrwbenc_class_init (GstVoAmrWbEncClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "AMR-WB audio encoder", + gst_element_class_set_static_metadata (element_class, "AMR-WB audio encoder", "Codec/Encoder/Audio", "Adaptive Multi-Rate Wideband audio encoder", "Renato Araujo <renato.filho@indt.org.br>"); diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index 3a6cb85d8..3cd8a72f1 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -116,7 +116,7 @@ gst_wayland_sink_class_init (GstWaylandSinkClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "wayland video sink", "Sink/Video", "Output to wayland surface", "Sreerenj Balachandran <sreerenj.balachandran@intel.com>"); diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c index 53ab0234f..01dc1b673 100644 --- a/ext/xvid/gstxviddec.c +++ b/ext/xvid/gstxviddec.c @@ -105,7 +105,7 @@ gst_xviddec_base_init (GstXvidDecClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "XviD video decoder", + gst_element_class_set_static_metadata (element_class, "XviD video decoder", "Codec/Decoder/Video", "XviD decoder based on xvidcore", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c index 44d6609a0..469067714 100644 --- a/ext/xvid/gstxvidenc.c +++ b/ext/xvid/gstxvidenc.c @@ -248,7 +248,7 @@ gst_xvidenc_base_init (GstXvidEncClass * klass) gst_static_pad_template_get (&sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "XviD video encoder", + gst_element_class_set_static_metadata (element_class, "XviD video encoder", "Codec/Encoder/Video", "XviD encoder based on xvidcore", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/ext/zbar/gstzbar.c b/ext/zbar/gstzbar.c index c4da7907e..0f363e160 100644 --- a/ext/zbar/gstzbar.c +++ b/ext/zbar/gstzbar.c @@ -163,7 +163,7 @@ gst_zbar_class_init (GstZBarClass * g_class) G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, "Barcode detector", + gst_element_class_set_static_metadata (gstelement_class, "Barcode detector", "Filter/Analyzer/Video", "Detect bar codes in the video streams", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c b/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c index 79008e1e3..a0a9f1dc9 100644 --- a/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c +++ b/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c @@ -531,7 +531,7 @@ gst_base_camera_src_class_init (GstBaseCameraSrcClass * klass) gstelement_class->change_state = gst_base_camera_src_change_state; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Base class for camerabin src bin", "Source/Video", "Abstracts capture device for camerabin2", "Rob Clark <rob@ti.com>"); } 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>"); } diff --git a/sys/acmenc/acmenc.c b/sys/acmenc/acmenc.c index 6e2eabda9..86843f543 100644 --- a/sys/acmenc/acmenc.c +++ b/sys/acmenc/acmenc.c @@ -494,7 +494,7 @@ acmenc_base_init (ACMEncClass * klass) && *shortname) ? shortname : params->name); description = g_strdup_printf ("ACM Encoder: %s", (longname && *longname) ? longname : params->name); - gst_element_class_set_metadata (element_class, detail, + gst_element_class_set_static_metadata (element_class, detail, "Codec/Encoder/Audio", description, "Pioneers of the Inevitable <songbird@songbirdnest.com>"); g_free (shortname); diff --git a/sys/acmmp3dec/acmmp3dec.c b/sys/acmmp3dec/acmmp3dec.c index 3c1b3bcfb..839452464 100644 --- a/sys/acmmp3dec/acmmp3dec.c +++ b/sys/acmmp3dec/acmmp3dec.c @@ -409,7 +409,7 @@ acmmp3dec_base_init (gpointer klass) gst_static_pad_template_get (&acmmp3dec_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&acmmp3dec_src_template)); - gst_element_class_set_metadata (element_class, "ACM MP3 decoder", + gst_element_class_set_static_metadata (element_class, "ACM MP3 decoder", "Codec/Decoder/Audio", "Decode MP3 using ACM decoder", "Pioneers of the Inevitable <songbird@songbirdnest.com"); diff --git a/sys/avc/gstavcsrc.cpp b/sys/avc/gstavcsrc.cpp index 21dcb5096..6d926dc2e 100644 --- a/sys/avc/gstavcsrc.cpp +++ b/sys/avc/gstavcsrc.cpp @@ -102,7 +102,7 @@ gst_avc_src_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_avc_src_src_template)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "AVC Video Services Source", "Video/Source", "Captures DV or HDV video from Firewire port", "David Schleef <ds@entropywave.com>"); diff --git a/sys/cdrom/gstcdplayer.c b/sys/cdrom/gstcdplayer.c index bdd2b30bf..fe22f2811 100644 --- a/sys/cdrom/gstcdplayer.c +++ b/sys/cdrom/gstcdplayer.c @@ -89,7 +89,7 @@ cdplayer_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "CD Player", + gst_element_class_set_static_metadata (element_class, "CD Player", "Generic/Bin", "Play CD audio through the CD Drive", "Charles Schmidt <cbschmid@uiuc.edu>, " diff --git a/sys/decklink/gstdecklinksink.cpp b/sys/decklink/gstdecklinksink.cpp index eeb1c95c8..7ee661e49 100644 --- a/sys/decklink/gstdecklinksink.cpp +++ b/sys/decklink/gstdecklinksink.cpp @@ -186,7 +186,7 @@ gst_decklink_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_decklink_sink_audiosink_template)); - gst_element_class_set_metadata (element_class, "Decklink Sink", + gst_element_class_set_static_metadata (element_class, "Decklink Sink", "Video/Sink", "Decklink Sink", "David Schleef <ds@entropywave.com>"); } diff --git a/sys/decklink/gstdecklinksrc.cpp b/sys/decklink/gstdecklinksrc.cpp index ee1c46457..331ca7215 100644 --- a/sys/decklink/gstdecklinksrc.cpp +++ b/sys/decklink/gstdecklinksrc.cpp @@ -190,7 +190,7 @@ gst_decklink_src_base_init (gpointer g_class) gst_pad_template_new ("videosrc", GST_PAD_SRC, GST_PAD_ALWAYS, gst_decklink_mode_get_template_caps ())); - gst_element_class_set_metadata (element_class, "Decklink source", + gst_element_class_set_static_metadata (element_class, "Decklink source", "Source/Video", "DeckLink Source", "David Schleef <ds@entropywave.com>"); } diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c index 4ab14d4e4..534d61d87 100644 --- a/sys/directdraw/gstdirectdrawsink.c +++ b/sys/directdraw/gstdirectdrawsink.c @@ -382,8 +382,8 @@ gst_directdraw_sink_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "Direct Draw Video Sink", - "Sink/Video", + gst_element_class_set_static_metadata (element_class, + "Direct Draw Video Sink", "Sink/Video", "Output to a video card via Direct Draw", "Sebastien Moutte <sebastien@moutte.net>"); gst_element_class_add_pad_template (element_class, @@ -1753,9 +1753,9 @@ gst_directdraw_sink_get_depth (LPDDPIXELFORMAT lpddpfPixelFormat) gint order = 0, binary; binary = - lpddpfPixelFormat->dwRBitMask | lpddpfPixelFormat-> - dwGBitMask | lpddpfPixelFormat->dwBBitMask | lpddpfPixelFormat-> - dwRGBAlphaBitMask; + lpddpfPixelFormat-> + dwRBitMask | lpddpfPixelFormat->dwGBitMask | lpddpfPixelFormat-> + dwBBitMask | lpddpfPixelFormat->dwRGBAlphaBitMask; while (binary != 0) { if ((binary % 2) == 1) order++; diff --git a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp index 6d4f15c70..2ba9c3b10 100644 --- a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp +++ b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp @@ -121,7 +121,7 @@ gst_dshowaudiosrc_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, "Directshow audio capture source", "Source/Audio", "Receive data from a directshow audio capture graph", "Sebastien Moutte <sebastien@moutte.net>"); diff --git a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp index 872932394..4fe0695a2 100644 --- a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp +++ b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp @@ -129,7 +129,7 @@ gst_dshowvideosrc_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, "DirectShow video capture source", "Source/Video", "Receive data from a directshow video capture graph", "Sebastien Moutte <sebastien@moutte.net>"); diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp index 0bd2eb0ae..062317fba 100644 --- a/sys/dshowvideosink/dshowvideosink.cpp +++ b/sys/dshowvideosink/dshowvideosink.cpp @@ -224,7 +224,7 @@ gst_dshowvideosink_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, "DirectShow video sink", + gst_element_class_set_static_metadata (element_class, "DirectShow video sink", "Sink/Video", "Display data using a DirectShow video renderer", "Pioneers of the Inevitable <songbird@songbirdnest.com>, " \ "FLUENDO S.A. <support@fluendo.com>"); diff --git a/sys/dvb/dvbbasebin.c b/sys/dvb/dvbbasebin.c index 4e91491a8..45a7aad54 100644 --- a/sys/dvb/dvbbasebin.c +++ b/sys/dvb/dvbbasebin.c @@ -228,7 +228,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "DVB bin", + gst_element_class_set_static_metadata (element_class, "DVB bin", "Source/Bin/Video", "Access descramble and split DVB streams", "Alessandro Decina <alessandro@nnva.org>"); diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index b7dcb783e..84aca09f2 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -334,7 +334,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&ts_src_factory)); - gst_element_class_set_metadata (gstelement_class, "DVB Source", + gst_element_class_set_static_metadata (gstelement_class, "DVB Source", "Source/Video", "Digital Video Broadcast Source", "P2P-VCR, C-Lab, University of Paderborn," diff --git a/sys/dxr3/dxr3audiosink.c b/sys/dxr3/dxr3audiosink.c index 7e509d5e4..baecdbba9 100644 --- a/sys/dxr3/dxr3audiosink.c +++ b/sys/dxr3/dxr3audiosink.c @@ -153,7 +153,7 @@ dxr3audiosink_base_init (Dxr3AudioSinkClass * klass) gst_static_pad_template_get (&dxr3audiosink_pcm_sink_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&dxr3audiosink_ac3_sink_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "dxr3/Hollywood+ mpeg decoder board audio plugin", "Audio/Sink", "Feeds audio to Sigma Designs em8300 based boards", "Martin Soto <martinsoto@users.sourceforge.net>"); diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c index 9cb690f6c..6d79acc4e 100644 --- a/sys/dxr3/dxr3spusink.c +++ b/sys/dxr3/dxr3spusink.c @@ -128,7 +128,7 @@ dxr3spusink_base_init (Dxr3SpuSinkClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&dxr3spusink_sink_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "dxr3/Hollywood+ mpeg decoder board subpicture element", "Sink/Video", "Feeds subpicture information to Sigma Designs em8300 based boards", "Martin Soto <martinsoto@users.sourceforge.net>"); diff --git a/sys/dxr3/dxr3videosink.c b/sys/dxr3/dxr3videosink.c index ceeacb7dd..817636879 100644 --- a/sys/dxr3/dxr3videosink.c +++ b/sys/dxr3/dxr3videosink.c @@ -154,7 +154,7 @@ dxr3videosink_base_init (Dxr3VideoSinkClass * klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&dxr3videosink_sink_factory)); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "dxr3/Hollywood+ mpeg decoder board video element", "Sink/Video", "Feeds MPEG2 video to Sigma Designs em8300 based boards", "Martin Soto <martinsoto@users.sourceforge.net>"); diff --git a/sys/fbdev/gstfbdevsink.c b/sys/fbdev/gstfbdevsink.c index 70fad8edb..639641d95 100644 --- a/sys/fbdev/gstfbdevsink.c +++ b/sys/fbdev/gstfbdevsink.c @@ -90,7 +90,7 @@ gst_fbdevsink_base_init (gpointer g_class) GST_STATIC_CAPS (GST_FBDEV_TEMPLATE_CAPS) ); - gst_element_class_set_metadata (element_class, "fbdev video sink", + gst_element_class_set_static_metadata (element_class, "fbdev video sink", "Sink/Video", "A linux framebuffer videosink", "Sean D'Epagnier <sean@depagnier.com>"); gst_element_class_add_pad_template (element_class, diff --git a/sys/linsys/gstlinsyssdisink.c b/sys/linsys/gstlinsyssdisink.c index 4250e0796..bcb1c8ca2 100644 --- a/sys/linsys/gstlinsyssdisink.c +++ b/sys/linsys/gstlinsyssdisink.c @@ -102,7 +102,7 @@ gst_linsys_sdi_sink_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_linsys_sdi_sink_sink_template)); - gst_element_class_set_metadata (element_class, "SDI video sink", + gst_element_class_set_static_metadata (element_class, "SDI video sink", "Sink/Video", "Writes video from SDI transmit device", "David Schleef <ds@entropywave.com>"); } diff --git a/sys/linsys/gstlinsyssdisrc.c b/sys/linsys/gstlinsyssdisrc.c index 9b5a32708..6bdbe5ed7 100644 --- a/sys/linsys/gstlinsyssdisrc.c +++ b/sys/linsys/gstlinsyssdisrc.c @@ -106,7 +106,7 @@ gst_linsys_sdi_src_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_linsys_sdi_src_src_template)); - gst_element_class_set_metadata (element_class, "SDI video source", + gst_element_class_set_static_metadata (element_class, "SDI video source", "Source/Video", "Reads video from SDI capture device", "David Schleef <ds@entropywave.com>"); } diff --git a/sys/osxvideo/osxvideosrc.c b/sys/osxvideo/osxvideosrc.c index 14b709978..79faaf600 100644 --- a/sys/osxvideo/osxvideosrc.c +++ b/sys/osxvideo/osxvideosrc.c @@ -642,7 +642,7 @@ gst_osx_video_src_base_init (gpointer gclass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "Video Source (OSX)", + gst_element_class_set_static_metadata (element_class, "Video Source (OSX)", "Source/Video", "Reads raw frames from a capture device on OS X", "Ole Andre Vadla Ravnaas <ole.andre.ravnas@tandberg.com>, " diff --git a/sys/pvr2d/gstpvrvideosink.c b/sys/pvr2d/gstpvrvideosink.c index 0a93687d1..aaacff4d9 100644 --- a/sys/pvr2d/gstpvrvideosink.c +++ b/sys/pvr2d/gstpvrvideosink.c @@ -1460,7 +1460,7 @@ gst_pvrvideosink_class_init (GstPVRVideoSinkClass * klass) "original aspect ratio", TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "PVR Video sink", "Sink/Video", "A PVR videosink", "Luciana Fujii Pontello <luciana.fujii@collabora.co.uk"); diff --git a/sys/qcam/gstqcamsrc.c b/sys/qcam/gstqcamsrc.c index f53e55741..2cd27fe18 100644 --- a/sys/qcam/gstqcamsrc.c +++ b/sys/qcam/gstqcamsrc.c @@ -150,7 +150,7 @@ gst_qcamsrc_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_qcamsrc_src_factory)); - gst_element_class_set_metadata (element_class, "QCam Source", + gst_element_class_set_static_metadata (element_class, "QCam Source", "Source/Video", "Read from a QuickCam device", "Wim Taymans <wim.taymans@chello.be>"); } diff --git a/sys/shm/gstshmsink.c b/sys/shm/gstshmsink.c index 1711e8ea9..d760bc56d 100644 --- a/sys/shm/gstshmsink.c +++ b/sys/shm/gstshmsink.c @@ -176,7 +176,7 @@ gst_shm_sink_class_init (GstShmSinkClass * 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, "Shared Memory Sink", "Sink", "Send data over shared memory to the matching source", diff --git a/sys/shm/gstshmsrc.c b/sys/shm/gstshmsrc.c index 1c9049183..ec6838d81 100644 --- a/sys/shm/gstshmsrc.c +++ b/sys/shm/gstshmsrc.c @@ -134,7 +134,7 @@ gst_shm_src_class_init (GstShmSrcClass * klass) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&srctemplate)); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Shared Memory Source", "Source", "Receive data from the shared memory sink", diff --git a/sys/uvch264/gstuvch264_mjpgdemux.c b/sys/uvch264/gstuvch264_mjpgdemux.c index 880b44918..e194cdaba 100644 --- a/sys/uvch264/gstuvch264_mjpgdemux.c +++ b/sys/uvch264/gstuvch264_mjpgdemux.c @@ -200,7 +200,7 @@ gst_uvc_h264_mjpg_demux_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, pt); gst_object_unref (pt); - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "UVC H264 MJPG Demuxer", "Video/Demuxer", "Demux UVC H264 auxiliary streams from MJPG images", diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c index ac99768dd..1b7669170 100644 --- a/sys/uvch264/gstuvch264_src.c +++ b/sys/uvch264/gstuvch264_src.c @@ -273,7 +273,7 @@ gst_uvc_h264_src_base_init (gpointer g_class) GST_DEBUG_CATEGORY_INIT (uvc_h264_src_debug, "uvch264_src", 0, "UVC H264 Compliant camera bin source"); - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "UVC H264 Source", "Source/Video", "UVC H264 Encoding camera source", diff --git a/sys/vcd/vcdsrc.c b/sys/vcd/vcdsrc.c index 294bd2ad7..8c6e6725a 100644 --- a/sys/vcd/vcdsrc.c +++ b/sys/vcd/vcdsrc.c @@ -95,7 +95,7 @@ gst_vcdsrc_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "VCD Source", + gst_element_class_set_static_metadata (element_class, "VCD Source", "Source/File", "Asynchronous read from VCD disk", "Erik Walthinsen <omega@cse.ogi.edu>"); diff --git a/sys/vdpau/gstvdpsink.c b/sys/vdpau/gstvdpsink.c index ff4f7453d..a171b0223 100644 --- a/sys/vdpau/gstvdpsink.c +++ b/sys/vdpau/gstvdpsink.c @@ -1385,7 +1385,7 @@ gst_vdp_sink_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, "VDPAU Sink", "Sink/Video", "VDPAU Sink", "Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com>"); diff --git a/sys/vdpau/gstvdpvideopostprocess.c b/sys/vdpau/gstvdpvideopostprocess.c index 4d76eceba..29466ae83 100644 --- a/sys/vdpau/gstvdpvideopostprocess.c +++ b/sys/vdpau/gstvdpvideopostprocess.c @@ -1179,7 +1179,7 @@ gst_vdp_vpp_base_init (gpointer gclass) GstCaps *src_caps, *sink_caps; GstPadTemplate *src_template, *sink_template; - gst_element_class_set_metadata (element_class, + gst_element_class_set_static_metadata (element_class, "VdpauVideoPostProcess", "Filter/Converter/Decoder/Video", "Post process GstVdpVideoBuffers and output GstVdpOutputBuffers", diff --git a/sys/vdpau/h264/gstvdph264dec.c b/sys/vdpau/h264/gstvdph264dec.c index ba44c6dc7..92e33fcda 100644 --- a/sys/vdpau/h264/gstvdph264dec.c +++ b/sys/vdpau/h264/gstvdph264dec.c @@ -866,7 +866,7 @@ gst_vdp_h264_dec_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, "VDPAU H264 Decoder", "Decoder", "Decode h264 stream with vdpau", diff --git a/sys/vdpau/mpeg/gstvdpmpegdec.c b/sys/vdpau/mpeg/gstvdpmpegdec.c index ef1210e44..304cb9a38 100644 --- a/sys/vdpau/mpeg/gstvdpmpegdec.c +++ b/sys/vdpau/mpeg/gstvdpmpegdec.c @@ -620,7 +620,7 @@ gst_vdp_mpeg_dec_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, "VDPAU Mpeg Decoder", "Decoder", "Decode mpeg stream with vdpau", diff --git a/sys/vdpau/mpeg4/gstvdpmpeg4dec.c b/sys/vdpau/mpeg4/gstvdpmpeg4dec.c index 8ebd89328..fb0a2fd8b 100644 --- a/sys/vdpau/mpeg4/gstvdpmpeg4dec.c +++ b/sys/vdpau/mpeg4/gstvdpmpeg4dec.c @@ -439,7 +439,7 @@ gst_vdp_mpeg4_dec_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, "VDPAU Mpeg4 Decoder", "Decoder", "Decode mpeg4 stream with vdpau", diff --git a/sys/wasapi/gstwasapisink.c b/sys/wasapi/gstwasapisink.c index f8f7103af..307bbe91f 100644 --- a/sys/wasapi/gstwasapisink.c +++ b/sys/wasapi/gstwasapisink.c @@ -67,7 +67,7 @@ gst_wasapi_sink_base_init (gpointer gclass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_metadata (element_class, "WasapiSrc", + gst_element_class_set_static_metadata (element_class, "WasapiSrc", "Sink/Audio", "Stream audio to an audio capture device through WASAPI", "Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>"); diff --git a/sys/wasapi/gstwasapisrc.c b/sys/wasapi/gstwasapisrc.c index 7163f520a..38a829d32 100644 --- a/sys/wasapi/gstwasapisrc.c +++ b/sys/wasapi/gstwasapisrc.c @@ -71,7 +71,7 @@ gst_wasapi_src_base_init (gpointer gclass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&src_template)); - gst_element_class_set_metadata (element_class, "WasapiSrc", + gst_element_class_set_static_metadata (element_class, "WasapiSrc", "Source/Audio", "Stream audio from an audio capture device through WASAPI", "Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>"); diff --git a/sys/wininet/gstwininetsrc.c b/sys/wininet/gstwininetsrc.c index ed719b1c0..2adf93ffc 100644 --- a/sys/wininet/gstwininetsrc.c +++ b/sys/wininet/gstwininetsrc.c @@ -86,7 +86,7 @@ gst_win_inet_src_base_init (gpointer gclass) 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, "Windows Network Source", "Source/Network", "Receive data as a client over the network via HTTP or FTP", "Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>"); diff --git a/sys/winks/gstksvideosrc.c b/sys/winks/gstksvideosrc.c index 1f4d70751..06e82490d 100644 --- a/sys/winks/gstksvideosrc.c +++ b/sys/winks/gstksvideosrc.c @@ -168,7 +168,7 @@ gst_ks_video_src_base_init (gpointer gclass) { GstElementClass *element_class = GST_ELEMENT_CLASS (gclass); - gst_element_class_set_metadata (element_class, "KsVideoSrc", + gst_element_class_set_static_metadata (element_class, "KsVideoSrc", "Source/Video", "Stream data from a video capture device through Windows kernel streaming", "Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>\n" diff --git a/sys/winscreencap/gstdx9screencapsrc.c b/sys/winscreencap/gstdx9screencapsrc.c index 82a0d4d6c..32a8b29ac 100644 --- a/sys/winscreencap/gstdx9screencapsrc.c +++ b/sys/winscreencap/gstdx9screencapsrc.c @@ -104,7 +104,7 @@ gst_dx9screencapsrc_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, "DirectX 9 screen capture source", "Source/Video", "Captures screen", "Haakon Sporsheim <hakon.sporsheim@tandberg.com>"); } diff --git a/sys/winscreencap/gstgdiscreencapsrc.c b/sys/winscreencap/gstgdiscreencapsrc.c index fccd97a8e..a8da30ba4 100644 --- a/sys/winscreencap/gstgdiscreencapsrc.c +++ b/sys/winscreencap/gstgdiscreencapsrc.c @@ -99,7 +99,7 @@ gst_gdiscreencapsrc_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, "GDI screen capture source", "Source/Video", "Captures screen", "Haakon Sporsheim <hakon.sporsheim@tandberg.com>"); } diff --git a/tests/check/elements/baseaudiovisualizer.c b/tests/check/elements/baseaudiovisualizer.c index 5025d610c..b0a0c1b53 100644 --- a/tests/check/elements/baseaudiovisualizer.c +++ b/tests/check/elements/baseaudiovisualizer.c @@ -71,7 +71,7 @@ gst_test_scope_class_init (GstTestScopeClass * g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_metadata (element_class, "test scope", + gst_element_class_set_static_metadata (element_class, "test scope", "Visualization", "Dummy test scope", "Stefan Kost <ensonic@users.sf.net>"); diff --git a/tests/check/elements/camerabin.c b/tests/check/elements/camerabin.c index 3cb8d806f..2f968ab71 100644 --- a/tests/check/elements/camerabin.c +++ b/tests/check/elements/camerabin.c @@ -153,7 +153,7 @@ gst_test_camera_src_class_init (GstTestCameraSrcClass * klass) gstbasecamera_class = GST_BASE_CAMERA_SRC_CLASS (klass); gstbasecamera_class->set_mode = gst_test_camera_src_set_mode; - gst_element_class_set_metadata (gstelement_class, + gst_element_class_set_static_metadata (gstelement_class, "Test Camera Src", "Camera/Src", "Some test camera src", diff --git a/tools/gst-element-maker b/tools/gst-element-maker index dc85c5f84..a28c4da7a 100755 --- a/tools/gst-element-maker +++ b/tools/gst-element-maker @@ -189,7 +189,7 @@ done cat <<EOF - gst_element_class_set_metadata (element_class, "FIXME Long name", + gst_element_class_set_static_metadata (element_class, "FIXME Long name", "Generic", "FIXME Description", "$REAL_NAME <$EMAIL_ADDRESS>"); } |