summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-17 17:34:26 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-17 17:46:34 +0100
commit32ba17cd0f37d407ab810858f356de386c50b7b9 (patch)
tree794351ffb8e0c764d1896ee9a505b76616738719 /ext
parenta7258842ab7a68514011298c1038cca5c6e1f9a5 (diff)
Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent some stuff. Also some indent fixes here and there.
Diffstat (limited to 'ext')
-rw-r--r--ext/apexsink/gstapexsink.c2
-rw-r--r--ext/assrender/gstassrender.c2
-rw-r--r--ext/audiofile/gstafparse.c2
-rw-r--r--ext/audiofile/gstafsink.c2
-rw-r--r--ext/audiofile/gstafsrc.c2
-rw-r--r--ext/bz2/gstbz2dec.c2
-rw-r--r--ext/bz2/gstbz2enc.c2
-rw-r--r--ext/cdaudio/gstcdaudio.c2
-rw-r--r--ext/celt/gstceltdec.c2
-rw-r--r--ext/celt/gstceltenc.c2
-rw-r--r--ext/chromaprint/gstchromaprint.c2
-rw-r--r--ext/cog/gstcogdownsample.c2
-rw-r--r--ext/cog/gstcogmse.c2
-rw-r--r--ext/cog/gstcogscale.c2
-rw-r--r--ext/curl/gstcurlbasesink.c2
-rw-r--r--ext/curl/gstcurlfilesink.c2
-rw-r--r--ext/curl/gstcurlftpsink.c2
-rw-r--r--ext/curl/gstcurlhttpsink.c2
-rw-r--r--ext/curl/gstcurlsmtpsink.c2
-rw-r--r--ext/curl/gstcurltlssink.c2
-rw-r--r--ext/dc1394/gstdc1394.c4
-rw-r--r--ext/dirac/gstdiracdec.cc2
-rw-r--r--ext/dirac/gstdiracenc.cc2
-rw-r--r--ext/directfb/dfbvideosink.c2
-rw-r--r--ext/dts/gstdtsdec.c2
-rw-r--r--ext/faac/gstfaac.c2
-rw-r--r--ext/faad/gstfaad.c2
-rw-r--r--ext/flite/gstflitetestsrc.c2
-rw-r--r--ext/gme/gstgme.c2
-rw-r--r--ext/gsettings/gstgsettingsaudiosink.c2
-rw-r--r--ext/gsettings/gstgsettingsaudiosrc.c2
-rw-r--r--ext/gsettings/gstgsettingsvideosink.c2
-rw-r--r--ext/gsettings/gstgsettingsvideosrc.c2
-rw-r--r--ext/gsm/gstgsmdec.c2
-rw-r--r--ext/gsm/gstgsmenc.c2
-rw-r--r--ext/jasper/gstjasperdec.c2
-rw-r--r--ext/jasper/gstjasperenc.c2
-rw-r--r--ext/kate/gstkatedec.c2
-rw-r--r--ext/kate/gstkateenc.c4
-rw-r--r--ext/kate/gstkateparse.c2
-rw-r--r--ext/kate/gstkatetag.c2
-rw-r--r--ext/kate/gstkatetiger.c2
-rw-r--r--ext/libfame/gstlibfame.c2
-rw-r--r--ext/libmms/gstmms.c2
-rw-r--r--ext/mimic/gstmimdec.c2
-rw-r--r--ext/mimic/gstmimenc.c2
-rw-r--r--ext/modplug/gstmodplug.cc2
-rw-r--r--ext/mpeg2enc/gstmpeg2enc.cc2
-rw-r--r--ext/mplex/gstmplex.cc2
-rw-r--r--ext/musepack/gstmusepackdec.c2
-rw-r--r--ext/musicbrainz/gsttrm.c2
-rw-r--r--ext/mythtv/gstmythtvsrc.c2
-rw-r--r--ext/nas/nassink.c2
-rw-r--r--ext/neon/gstneonhttpsrc.c2
-rw-r--r--ext/ofa/gstofa.c2
-rw-r--r--ext/openal/gstopenalsink.c2
-rw-r--r--ext/openal/gstopenalsrc.c2
-rw-r--r--ext/opencv/gstcvdilate.c2
-rw-r--r--ext/opencv/gstcvequalizehist.c2
-rw-r--r--ext/opencv/gstcverode.c2
-rw-r--r--ext/opencv/gstcvlaplace.c2
-rw-r--r--ext/opencv/gstcvsmooth.c2
-rw-r--r--ext/opencv/gstcvsobel.c2
-rw-r--r--ext/opencv/gstedgedetect.c2
-rw-r--r--ext/opencv/gstfaceblur.c2
-rw-r--r--ext/opencv/gstfacedetect.c2
-rw-r--r--ext/opencv/gstmotioncells.c2
-rw-r--r--ext/opencv/gstpyramidsegment.c2
-rw-r--r--ext/opencv/gsttemplatematch.c2
-rw-r--r--ext/opencv/gsttextoverlay.c5
-rw-r--r--ext/opus/gstopusdec.c2
-rw-r--r--ext/opus/gstopusenc.c2
-rw-r--r--ext/opus/gstopusparse.c2
-rw-r--r--ext/opus/gstrtpopusdepay.c2
-rw-r--r--ext/opus/gstrtpopuspay.c2
-rw-r--r--ext/resindvd/gstmpegdemux.c2
-rw-r--r--ext/resindvd/resindvdbin.c2
-rw-r--r--ext/resindvd/resindvdsrc.c2
-rw-r--r--ext/resindvd/rsndec.c4
-rw-r--r--ext/resindvd/rsnparsetter.c2
-rw-r--r--ext/rsvg/gstrsvgdec.c2
-rw-r--r--ext/rsvg/gstrsvgoverlay.c2
-rw-r--r--ext/rtmp/gstrtmpsink.c2
-rw-r--r--ext/rtmp/gstrtmpsrc.c2
-rw-r--r--ext/schroedinger/gstschrodec.c2
-rw-r--r--ext/schroedinger/gstschroenc.c2
-rw-r--r--ext/sdl/sdlaudiosink.c2
-rw-r--r--ext/sdl/sdlvideosink.c2
-rw-r--r--ext/snapshot/gstsnapshot.c2
-rw-r--r--ext/sndfile/gstsfsink.c2
-rw-r--r--ext/sndfile/gstsfsrc.c2
-rw-r--r--ext/sndio/sndiosink.c19
-rw-r--r--ext/sndio/sndiosrc.c20
-rw-r--r--ext/soundtouch/gstbpmdetect.cc2
-rw-r--r--ext/soundtouch/gstpitch.cc2
-rw-r--r--ext/spandsp/gstspanplc.c2
-rw-r--r--ext/spc/gstspc.c2
-rw-r--r--ext/swfdec/gstswfdec.c2
-rw-r--r--ext/teletextdec/gstteletextdec.c2
-rw-r--r--ext/timidity/gsttimidity.c2
-rw-r--r--ext/timidity/gstwildmidi.c2
-rw-r--r--ext/voaacenc/gstvoaacenc.c5
-rw-r--r--ext/voamrwbenc/gstvoamrwbenc.c2
-rw-r--r--ext/wayland/gstwaylandsink.c2
-rw-r--r--ext/xvid/gstxviddec.c2
-rw-r--r--ext/xvid/gstxvidenc.c2
-rw-r--r--ext/zbar/gstzbar.c2
107 files changed, 125 insertions, 136 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>");