Commit 578861ab authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

replace gst_element_class_set_details_simple with gst_element_class_set_metadata

parent f2191d40
...@@ -261,7 +261,7 @@ gst_apexsink_base_init (gpointer g_class) ...@@ -261,7 +261,7 @@ gst_apexsink_base_init (gpointer g_class)
{ {
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Apple AirPort Express Audio Sink", "Sink/Audio/Wireless", "Apple AirPort Express Audio Sink", "Sink/Audio/Wireless",
"Output stream to an AirPort Express", "Output stream to an AirPort Express",
"Jérémie Bernard [GRemi] <gremimail@gmail.com>"); "Jérémie Bernard [GRemi] <gremimail@gmail.com>");
......
...@@ -155,7 +155,7 @@ gst_ass_render_class_init (GstAssRenderClass * klass) ...@@ -155,7 +155,7 @@ gst_ass_render_class_init (GstAssRenderClass * klass)
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&text_sink_factory)); gst_static_pad_template_get (&text_sink_factory));
gst_element_class_set_details_simple (gstelement_class, "ASS/SSA Render", gst_element_class_set_metadata (gstelement_class, "ASS/SSA Render",
"Mixer/Video/Overlay/Subtitle", "Mixer/Video/Overlay/Subtitle",
"Renders ASS/SSA subtitles with libass", "Renders ASS/SSA subtitles with libass",
"Benjamin Schmitz <vortex@wolpzone.de>, " "Benjamin Schmitz <vortex@wolpzone.de>, "
......
...@@ -119,7 +119,7 @@ gst_afparse_base_init (gpointer g_class) ...@@ -119,7 +119,7 @@ gst_afparse_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&afparse_sink_factory)); gst_static_pad_template_get (&afparse_sink_factory));
gst_element_class_set_details_simple (element_class, "Audiofile demuxer", gst_element_class_set_metadata (element_class, "Audiofile demuxer",
"Codec/Demuxer/Audio", "Codec/Demuxer/Audio",
"Audiofile parser for audio/raw", "Audiofile parser for audio/raw",
"Steve Baker <stevebaker_org@yahoo.co.uk>"); "Steve Baker <stevebaker_org@yahoo.co.uk>");
......
...@@ -140,7 +140,7 @@ gst_afsink_base_init (gpointer g_class) ...@@ -140,7 +140,7 @@ gst_afsink_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&afsink_sink_factory)); gst_static_pad_template_get (&afsink_sink_factory));
gst_element_class_set_details_simple (element_class, "Audiofile sink", gst_element_class_set_metadata (element_class, "Audiofile sink",
"Sink/Audio", "Sink/Audio",
"Write audio streams to disk using libaudiofile", "Write audio streams to disk using libaudiofile",
"Thomas Vander Stichele <thomas@apestaart.org>"); "Thomas Vander Stichele <thomas@apestaart.org>");
......
...@@ -137,7 +137,7 @@ gst_afsrc_base_init (gpointer g_class) ...@@ -137,7 +137,7 @@ gst_afsrc_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&afsrc_src_factory)); gst_static_pad_template_get (&afsrc_src_factory));
gst_element_class_set_details_simple (element_class, "Audiofile source", gst_element_class_set_metadata (element_class, "Audiofile source",
"Source/Audio", "Source/Audio",
"Read audio files from disk using libaudiofile", "Read audio files from disk using libaudiofile",
"Thomas <thomas@apestaart.org>"); "Thomas <thomas@apestaart.org>");
......
...@@ -300,7 +300,7 @@ gst_bz2dec_class_init (GstBz2decClass * klass) ...@@ -300,7 +300,7 @@ gst_bz2dec_class_init (GstBz2decClass * klass)
gst_static_pad_template_get (&sink_template)); gst_static_pad_template_get (&sink_template));
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&src_template)); gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (gstelement_class, "BZ2 decoder", gst_element_class_set_metadata (gstelement_class, "BZ2 decoder",
"Codec/Decoder", "Decodes compressed streams", "Codec/Decoder", "Decodes compressed streams",
"Lutz Mueller <lutz@users.sourceforge.net>"); "Lutz Mueller <lutz@users.sourceforge.net>");
......
...@@ -324,7 +324,7 @@ gst_bz2enc_class_init (GstBz2encClass * klass) ...@@ -324,7 +324,7 @@ gst_bz2enc_class_init (GstBz2encClass * klass)
gst_static_pad_template_get (&sink_template)); gst_static_pad_template_get (&sink_template));
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&src_template)); gst_static_pad_template_get (&src_template));
gst_element_class_set_details_simple (gstelement_class, "BZ2 encoder", gst_element_class_set_metadata (gstelement_class, "BZ2 encoder",
"Codec/Encoder", "Compresses streams", "Codec/Encoder", "Compresses streams",
"Lutz Mueller <lutz@users.sourceforge.net>"); "Lutz Mueller <lutz@users.sourceforge.net>");
......
...@@ -135,7 +135,7 @@ gst_cdaudio_base_init (gpointer g_class) ...@@ -135,7 +135,7 @@ gst_cdaudio_base_init (gpointer g_class)
{ {
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class, "CD player", gst_element_class_set_metadata (element_class, "CD player",
"Generic/Bin", "Generic/Bin",
"Play CD audio through the CD Drive", "Wim Taymans <wim@fluendo.com>"); "Play CD audio through the CD Drive", "Wim Taymans <wim@fluendo.com>");
......
...@@ -97,7 +97,7 @@ gst_celt_dec_class_init (GstCeltDecClass * klass) ...@@ -97,7 +97,7 @@ gst_celt_dec_class_init (GstCeltDecClass * klass)
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&celt_dec_sink_factory)); gst_static_pad_template_get (&celt_dec_sink_factory));
gst_element_class_set_details_simple (gstelement_class, "Celt audio decoder", gst_element_class_set_metadata (gstelement_class, "Celt audio decoder",
"Codec/Decoder/Audio", "Codec/Decoder/Audio",
"decode celt streams to audio", "decode celt streams to audio",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>"); "Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
...@@ -189,7 +189,7 @@ gst_celt_enc_class_init (GstCeltEncClass * klass) ...@@ -189,7 +189,7 @@ gst_celt_enc_class_init (GstCeltEncClass * klass)
gst_static_pad_template_get (&src_factory)); gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_factory)); gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details_simple (gstelement_class, "Celt audio encoder", gst_element_class_set_metadata (gstelement_class, "Celt audio encoder",
"Codec/Encoder/Audio", "Codec/Encoder/Audio",
"Encodes audio in Celt format", "Encodes audio in Celt format",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>"); "Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
...@@ -106,7 +106,7 @@ gst_chromaprint_class_init (GstChromaprintClass * klass) ...@@ -106,7 +106,7 @@ gst_chromaprint_class_init (GstChromaprintClass * klass)
GST_DEBUG_FUNCPTR (gst_chromaprint_sink_event); GST_DEBUG_FUNCPTR (gst_chromaprint_sink_event);
gstbasetrans_class->passthrough_on_same_caps = TRUE; gstbasetrans_class->passthrough_on_same_caps = TRUE;
gst_element_class_set_details_simple (GST_ELEMENT_CLASS (klass), gst_element_class_set_metadata (GST_ELEMENT_CLASS (klass),
"Chromaprint fingerprinting element", "Chromaprint fingerprinting element",
"Filter/Analyzer/Audio", "Filter/Analyzer/Audio",
"Find an audio fingerprint using the Chromaprint library", "Find an audio fingerprint using the Chromaprint library",
......
...@@ -131,7 +131,7 @@ gst_cogcolorspace_base_init (gpointer g_class) ...@@ -131,7 +131,7 @@ gst_cogcolorspace_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cogcolorspace_sink_template)); gst_static_pad_template_get (&gst_cogcolorspace_sink_template));
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"YCbCr/RGB format conversion", "Filter/Converter/Video", "YCbCr/RGB format conversion", "Filter/Converter/Video",
"YCbCr/RGB format conversion", "David Schleef <ds@schleef.org>"); "YCbCr/RGB format conversion", "David Schleef <ds@schleef.org>");
} }
......
...@@ -137,7 +137,7 @@ gst_cogdownsample_base_init (gpointer g_class) ...@@ -137,7 +137,7 @@ gst_cogdownsample_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cogdownsample_sink_template)); gst_static_pad_template_get (&gst_cogdownsample_sink_template));
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Scale down video by factor of 2", "Filter/Effect/Video", "Scale down video by factor of 2", "Filter/Effect/Video",
"Scales down video by a factor of 2", "David Schleef <ds@schleef.org>"); "Scales down video by a factor of 2", "David Schleef <ds@schleef.org>");
} }
......
...@@ -143,7 +143,7 @@ gst_mse_base_init (gpointer klass) ...@@ -143,7 +143,7 @@ gst_mse_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_framestore_sink_test_template)); gst_static_pad_template_get (&gst_framestore_sink_test_template));
gst_element_class_set_details_simple (element_class, "Calculate MSE", gst_element_class_set_metadata (element_class, "Calculate MSE",
"Filter/Effect", "Filter/Effect",
"Calculates mean squared error between two video streams", "Calculates mean squared error between two video streams",
"David Schleef <ds@schleef.org>"); "David Schleef <ds@schleef.org>");
......
...@@ -203,7 +203,7 @@ gst_cog_scale_base_init (gpointer g_class) ...@@ -203,7 +203,7 @@ gst_cog_scale_base_init (gpointer g_class)
{ {
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class, "Video scaler", gst_element_class_set_metadata (element_class, "Video scaler",
"Filter/Effect/Video", "Filter/Effect/Video",
"Resizes video", "Wim Taymans <wim.taymans@chello.be>"); "Resizes video", "Wim Taymans <wim.taymans@chello.be>");
......
...@@ -137,7 +137,7 @@ gst_colorconvert_base_init (gpointer g_class) ...@@ -137,7 +137,7 @@ gst_colorconvert_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_colorconvert_sink_template)); gst_static_pad_template_get (&gst_colorconvert_sink_template));
gst_element_class_set_details_simple (element_class, "Convert colorspace", gst_element_class_set_metadata (element_class, "Convert colorspace",
"Filter/Effect/Video", "Filter/Effect/Video",
"Convert between SDTV and HDTV colorspace", "Convert between SDTV and HDTV colorspace",
"David Schleef <ds@schleef.org>"); "David Schleef <ds@schleef.org>");
......
...@@ -135,7 +135,7 @@ gst_logoinsert_base_init (gpointer g_class) ...@@ -135,7 +135,7 @@ gst_logoinsert_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_logoinsert_sink_template)); gst_static_pad_template_get (&gst_logoinsert_sink_template));
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Overlay image onto video", "Filter/Effect/Video", "Overlay image onto video", "Filter/Effect/Video",
"Overlay image onto video", "David Schleef <ds@schleef.org>"); "Overlay image onto video", "David Schleef <ds@schleef.org>");
} }
......
...@@ -150,7 +150,7 @@ gst_curl_base_sink_class_init (GstCurlBaseSinkClass * klass) ...@@ -150,7 +150,7 @@ gst_curl_base_sink_class_init (GstCurlBaseSinkClass * klass)
"curl base sink element"); "curl base sink element");
GST_DEBUG_OBJECT (klass, "class_init"); GST_DEBUG_OBJECT (klass, "class_init");
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Curl base sink", "Curl base sink",
"Sink/Network", "Sink/Network",
"Upload data over the network to a server using libcurl", "Upload data over the network to a server using libcurl",
......
...@@ -99,7 +99,7 @@ gst_curl_file_sink_class_init (GstCurlFileSinkClass * klass) ...@@ -99,7 +99,7 @@ gst_curl_file_sink_class_init (GstCurlFileSinkClass * klass)
"curl file sink element"); "curl file sink element");
GST_DEBUG_OBJECT (klass, "class_init"); GST_DEBUG_OBJECT (klass, "class_init");
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Curl file sink", "Curl file sink",
"Sink/Network", "Sink/Network",
"Upload data over FILE protocol using libcurl", "Upload data over FILE protocol using libcurl",
......
...@@ -100,7 +100,7 @@ gst_curl_ftp_sink_class_init (GstCurlFtpSinkClass * klass) ...@@ -100,7 +100,7 @@ gst_curl_ftp_sink_class_init (GstCurlFtpSinkClass * klass)
"curl ftp sink element"); "curl ftp sink element");
GST_DEBUG_OBJECT (klass, "class_init"); GST_DEBUG_OBJECT (klass, "class_init");
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Curl ftp sink", "Curl ftp sink",
"Sink/Network", "Sink/Network",
"Upload data over FTP protocol using libcurl", "Upload data over FTP protocol using libcurl",
......
...@@ -118,7 +118,7 @@ gst_curl_http_sink_class_init (GstCurlHttpSinkClass * klass) ...@@ -118,7 +118,7 @@ gst_curl_http_sink_class_init (GstCurlHttpSinkClass * klass)
"curl http sink element"); "curl http sink element");
GST_DEBUG_OBJECT (klass, "class_init"); GST_DEBUG_OBJECT (klass, "class_init");
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Curl http sink", "Curl http sink",
"Sink/Network", "Sink/Network",
"Upload data over HTTP/HTTPS protocol using libcurl", "Upload data over HTTP/HTTPS protocol using libcurl",
......
...@@ -219,7 +219,7 @@ gst_curl_smtp_sink_class_init (GstCurlSmtpSinkClass * klass) ...@@ -219,7 +219,7 @@ gst_curl_smtp_sink_class_init (GstCurlSmtpSinkClass * klass)
"curl smtp sink element"); "curl smtp sink element");
GST_DEBUG_OBJECT (klass, "class_init"); GST_DEBUG_OBJECT (klass, "class_init");
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Curl smtp sink", "Curl smtp sink",
"Sink/Network", "Sink/Network",
"Upload data over SMTP protocol using libcurl", "Upload data over SMTP protocol using libcurl",
......
...@@ -90,7 +90,7 @@ gst_curl_tls_sink_class_init (GstCurlTlsSinkClass * klass) ...@@ -90,7 +90,7 @@ gst_curl_tls_sink_class_init (GstCurlTlsSinkClass * klass)
"curl tls sink element"); "curl tls sink element");
GST_DEBUG_OBJECT (klass, "class_init"); GST_DEBUG_OBJECT (klass, "class_init");
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Curl tls sink", "Curl tls sink",
"Sink/Network", "Sink/Network",
"Upload data over TLS protocol using libcurl", "Upload data over TLS protocol using libcurl",
......
...@@ -105,7 +105,7 @@ gst_dc1394_base_init (gpointer g_class) ...@@ -105,7 +105,7 @@ gst_dc1394_base_init (gpointer g_class)
{ {
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class, "1394 IIDC Video Source", gst_element_class_set_metadata (element_class, "1394 IIDC Video Source",
"Source/Video", "Source/Video",
"libdc1394 based source, supports 1394 IIDC cameras", "libdc1394 based source, supports 1394 IIDC cameras",
"Antoine Tremblay <hexa00@gmail.com>"); "Antoine Tremblay <hexa00@gmail.com>");
......
...@@ -107,7 +107,7 @@ gst_diracdec_base_init (gpointer g_class) ...@@ -107,7 +107,7 @@ gst_diracdec_base_init (gpointer g_class)
&gst_diracdec_src_pad_template); &gst_diracdec_src_pad_template);
gst_element_class_add_static_pad_template (element_class, gst_element_class_add_static_pad_template (element_class,
&gst_diracdec_sink_pad_template); &gst_diracdec_sink_pad_template);
gst_element_class_set_details_simple (element_class, "Dirac stream decoder", gst_element_class_set_metadata (element_class, "Dirac stream decoder",
"Codec/Decoder/Video", "Decode DIRAC streams", "Codec/Decoder/Video", "Decode DIRAC streams",
"David Schleef <ds@schleef.org>, " "David Schleef <ds@schleef.org>, "
"Ronald Bultje <rbultje@ronald.bitfreak.net>"); "Ronald Bultje <rbultje@ronald.bitfreak.net>");
......
...@@ -205,7 +205,7 @@ gst_dirac_enc_base_init (gpointer g_class) ...@@ -205,7 +205,7 @@ gst_dirac_enc_base_init (gpointer g_class)
gst_element_class_add_static_pad_template (element_class, gst_element_class_add_static_pad_template (element_class,
&gst_dirac_enc_sink_template); &gst_dirac_enc_sink_template);
gst_element_class_set_details_simple (element_class, "Dirac Encoder", gst_element_class_set_metadata (element_class, "Dirac Encoder",
"Codec/Encoder/Video", "Codec/Encoder/Video",
"Encode raw YUV video into Dirac stream", "Encode raw YUV video into Dirac stream",
"David Schleef <ds@schleef.org>"); "David Schleef <ds@schleef.org>");
......
...@@ -2260,7 +2260,7 @@ gst_dfbvideosink_base_init (gpointer g_class) ...@@ -2260,7 +2260,7 @@ gst_dfbvideosink_base_init (gpointer g_class)
{ {
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details_simple (element_class, "DirectFB video sink", gst_element_class_set_metadata (element_class, "DirectFB video sink",
"Sink/Video", "Sink/Video",
"A DirectFB based videosink", "Julien Moutte <julien@moutte.net>"); "A DirectFB based videosink", "Julien Moutte <julien@moutte.net>");
......
...@@ -160,7 +160,7 @@ gst_dtsdec_class_init (GstDtsDecClass * klass) ...@@ -160,7 +160,7 @@ gst_dtsdec_class_init (GstDtsDecClass * klass)
gst_static_pad_template_get (&sink_factory)); gst_static_pad_template_get (&sink_factory));
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&src_factory)); gst_static_pad_template_get (&src_factory));
gst_element_class_set_details_simple (gstelement_class, "DTS audio decoder", gst_element_class_set_metadata (gstelement_class, "DTS audio decoder",
"Codec/Decoder/Audio", "Codec/Decoder/Audio",
"Decodes DTS audio streams", "Decodes DTS audio streams",
"Jan Schmidt <thaytan@noraisin.net>, " "Jan Schmidt <thaytan@noraisin.net>, "
......
...@@ -202,7 +202,7 @@ gst_faac_class_init (GstFaacClass * klass) ...@@ -202,7 +202,7 @@ gst_faac_class_init (GstFaacClass * klass)
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_template)); gst_static_pad_template_get (&sink_template));
gst_element_class_set_details_simple (gstelement_class, "AAC audio encoder", gst_element_class_set_metadata (gstelement_class, "AAC audio encoder",
"Codec/Encoder/Audio", "Codec/Encoder/Audio",
"Free MPEG-2/4 AAC encoder", "Free MPEG-2/4 AAC encoder",
"Ronald Bultje <rbultje@ronald.bitfreak.net>"); "Ronald Bultje <rbultje@ronald.bitfreak.net>");
......
...@@ -157,7 +157,7 @@ gst_faad_class_init (GstFaadClass * klass) ...@@ -157,7 +157,7 @@ gst_faad_class_init (GstFaadClass * klass)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template)); gst_static_pad_template_get (&sink_template));
gst_element_class_set_details_simple (element_class, "AAC audio decoder", gst_element_class_set_metadata (element_class, "AAC audio decoder",
"Codec/Decoder/Audio", "Codec/Decoder/Audio",
"Free MPEG-2/4 AAC decoder", "Free MPEG-2/4 AAC decoder",
"Ronald Bultje <rbultje@ronald.bitfreak.net>"); "Ronald Bultje <rbultje@ronald.bitfreak.net>");
......
...@@ -129,7 +129,7 @@ gst_flite_test_src_class_init (GstFliteTestSrcClass * klass) ...@@ -129,7 +129,7 @@ gst_flite_test_src_class_init (GstFliteTestSrcClass * klass)
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_flite_test_src_src_template)); gst_static_pad_template_get (&gst_flite_test_src_src_template));
gst_element_class_set_details_simple (gstelement_class, gst_element_class_set_metadata (gstelement_class,
"Flite speech test source", "Source/Audio", "Flite speech test source", "Source/Audio",
"Creates audio test signals identifying channels", "Creates audio test signals identifying channels",
"David Schleef <ds@schleef.org>"); "David Schleef <ds@schleef.org>");
......
...@@ -86,7 +86,7 @@ gst_gme_dec_class_init (GstGmeDecClass * klass) ...@@ -86,7 +86,7 @@ gst_gme_dec_class_init (GstGmeDecClass * klass)
gobject_class->dispose = gst_gme_dec_dispose; gobject_class->dispose = gst_gme_dec_dispose;
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Gaming console music file decoder", "Codec/Audio/Decoder", "Gaming console music file decoder", "Codec/Audio/Decoder",
"Uses libgme to emulate a gaming console sound processors", "Uses libgme to emulate a gaming console sound processors",
"Chris Lee <clee@kde.org>, Brian Koropoff <bkoropoff@gmail.com>, " "Chris Lee <clee@kde.org>, Brian Koropoff <bkoropoff@gmail.com>, "
......
...@@ -329,7 +329,7 @@ gst_gsettings_audio_sink_base_init (gpointer klass) ...@@ -329,7 +329,7 @@ gst_gsettings_audio_sink_base_init (gpointer klass)
{ {
GstElementClass *eklass = GST_ELEMENT_CLASS (klass); GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details_simple (eklass, "GSettings audio sink", gst_element_class_set_metadata (eklass, "GSettings audio sink",
"Sink/Audio", "Sink/Audio",
"Audio sink embedding the GSettings preferences for audio output", "Audio sink embedding the GSettings preferences for audio output",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>"); "Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
...@@ -228,7 +228,7 @@ gst_gsettings_audio_src_base_init (gpointer klass) ...@@ -228,7 +228,7 @@ gst_gsettings_audio_src_base_init (gpointer klass)
{ {
GstElementClass *eklass = GST_ELEMENT_CLASS (klass); GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details_simple (eklass, "GSettings audio src", gst_element_class_set_metadata (eklass, "GSettings audio src",
"Src/Audio", "Src/Audio",
"Audio src embedding the GSettings preferences for audio input", "Audio src embedding the GSettings preferences for audio input",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>"); "Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
...@@ -228,7 +228,7 @@ gst_gsettings_video_sink_base_init (gpointer klass) ...@@ -228,7 +228,7 @@ gst_gsettings_video_sink_base_init (gpointer klass)
{ {
GstElementClass *eklass = GST_ELEMENT_CLASS (klass); GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details_simple (eklass, "GSettings video sink", gst_element_class_set_metadata (eklass, "GSettings video sink",
"Sink/Video", "Sink/Video",
"Video sink embedding the GSettings preferences for video input", "Video sink embedding the GSettings preferences for video input",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>"); "Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
...@@ -228,7 +228,7 @@ gst_gsettings_video_src_base_init (gpointer klass) ...@@ -228,7 +228,7 @@ gst_gsettings_video_src_base_init (gpointer klass)
{ {
GstElementClass *eklass = GST_ELEMENT_CLASS (klass); GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details_simple (eklass, "GSettings video src", gst_element_class_set_metadata (eklass, "GSettings video src",
"Src/Video", "Src/Video",
"Video src embedding the GSettings preferences for video input", "Video src embedding the GSettings preferences for video input",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>"); "Sebastian Dröge <sebastian.droege@collabora.co.uk>");
......
...@@ -88,7 +88,7 @@ gst_gsmdec_class_init (GstGSMDecClass * klass) ...@@ -88,7 +88,7 @@ gst_gsmdec_class_init (GstGSMDecClass * klass)
gst_static_pad_template_get (&gsmdec_sink_template)); gst_static_pad_template_get (&gsmdec_sink_template));
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gsmdec_src_template)); gst_static_pad_template_get (&gsmdec_src_template));
gst_element_class_set_details_simple (element_class, "GSM audio decoder", gst_element_class_set_metadata (element_class, "GSM audio decoder",
"Codec/Decoder/Audio", "Codec/Decoder/Audio",
"Decodes GSM encoded audio", "Philippe Khalaf <burger@speedy.org>"); "Decodes GSM encoded audio", "Philippe Khalaf <burger@speedy.org>");
......
...@@ -82,7 +82,7 @@ gst_gsmenc_class_init (GstGSMEncClass * klass) ...@@ -82,7 +82,7 @@ gst_gsmenc_class_init (GstGSMEncClass * klass)
gst_static_pad_template_get (&gsmenc_sink_template)); gst_static_pad_template_get (&gsmenc_sink_template));
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gsmenc_src_template)); gst_static_pad_template_get (&gsmenc_src_template));
gst_element_class_set_details_simple (element_class, "GSM audio encoder", gst_element_class_set_metadata (element_class, "GSM audio encoder",
"Codec/Encoder/Audio", "Codec/Encoder/Audio",
"Encodes GSM audio", "Philippe Khalaf <burger@speedy.org>"); "Encodes GSM audio", "Philippe Khalaf <burger@speedy.org>");
......
...@@ -96,7 +96,7 @@ gst_jasper_dec_base_init (gpointer g_class) ...@@ -96,7 +96,7 @@ gst_jasper_dec_base_init (gpointer g_class)
gst_static_pad_template_get (&gst_jasper_dec_src_template)); gst_static_pad_template_get (&gst_jasper_dec_src_template));
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_jasper_dec_sink_template)); gst_static_pad_template_get (&gst_jasper_dec_sink_template));
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Jasper JPEG2000 image decoder", "Codec/Decoder/Image", "Jasper JPEG2000 image decoder", "Codec/Decoder/Image",
"Decodes JPEG2000 encoded images using jasper", "Decodes JPEG2000 encoded images using jasper",
"Mark Nauwelaerts <mnauw@users.sf.net>"); "Mark Nauwelaerts <mnauw@users.sf.net>");
......
...@@ -100,7 +100,7 @@ gst_jasper_enc_base_init (gpointer g_class) ...@@ -100,7 +100,7 @@ gst_jasper_enc_base_init (gpointer g_class)
gst_static_pad_template_get (&gst_jasper_enc_src_template)); gst_static_pad_template_get (&gst_jasper_enc_src_template));
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_jasper_enc_sink_template)); gst_static_pad_template_get (&gst_jasper_enc_sink_template));
gst_element_class_set_details_simple (element_class, gst_element_class_set_metadata (element_class,
"Jasper JPEG2000 image encoder", "Codec/Encoder/Image", "Jasper JPEG2000 image encoder", "Codec/Encoder/Image",
"Encodes video to JPEG2000 using jasper", "Encodes video to JPEG2000 using jasper",
"Mark Nauwelaerts <mnauw@users.sf.net>"); "Mark Nauwelaerts <mnauw@users.sf.net>");
......
...@@ -161,7 +161,7 @@ gst_kate_dec_class_init (GstKateDecClass * klass) ...@@ -161,7 +161,7 @@ gst_kate_dec_class_init (GstKateDecClass * klass)
gst_element_class_add_pad_template (gstelement_class, gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_factory)); gst_static_pad_template_get (&sink_factory));