mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
Use new gst_element_class_set_static_metadata()
This commit is contained in:
parent
d0eaf1ea80
commit
08d20e4da8
27 changed files with 32 additions and 31 deletions
|
@ -187,7 +187,7 @@ gst_a52dec_class_init (GstA52DecClass * 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_details_simple (gstelement_class,
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"ATSC A/52 audio decoder", "Codec/Decoder/Audio",
|
||||
"Decodes ATSC A/52 encoded audio streams",
|
||||
"David I. Lehn <dlehn@users.sourceforge.net>");
|
||||
|
|
|
@ -119,7 +119,7 @@ gst_amrnbdec_class_init (GstAmrnbDecClass * klass)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "AMR-NB audio decoder",
|
||||
gst_element_class_set_static_metadata (element_class, "AMR-NB audio decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"Adaptive Multi-Rate Narrow-Band audio decoder",
|
||||
"GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
|
||||
|
|
|
@ -159,7 +159,7 @@ gst_amrnbenc_class_init (GstAmrnbEncClass * klass)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "AMR-NB audio encoder",
|
||||
gst_element_class_set_static_metadata (element_class, "AMR-NB audio encoder",
|
||||
"Codec/Encoder/Audio",
|
||||
"Adaptive Multi-Rate Narrow-Band audio encoder",
|
||||
"Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
|
|
@ -88,7 +88,7 @@ gst_amrwbdec_class_init (GstAmrwbDecClass * klass)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "AMR-WB audio decoder",
|
||||
gst_element_class_set_static_metadata (element_class, "AMR-WB audio decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"Adaptive Multi-Rate Wideband audio decoder",
|
||||
"Renato Araujo <renato.filho@indt.org.br>");
|
||||
|
|
|
@ -331,8 +331,8 @@ gst_cdio_cdda_src_class_init (GstCdioCddaSrcClass * klass)
|
|||
"Read from device at the specified speed (-1 = default)", -1, 100,
|
||||
DEFAULT_READ_SPEED, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "CD audio source (CDDA)",
|
||||
"Source/File",
|
||||
gst_element_class_set_static_metadata (element_class,
|
||||
"CD audio source (CDDA)", "Source/File",
|
||||
"Read audio from CD using libcdio",
|
||||
"Tim-Philipp Müller <tim centricular net>");
|
||||
}
|
||||
|
|
|
@ -163,7 +163,7 @@ gst_dvd_read_src_class_init (GstDvdReadSrcClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&srctemplate));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "DVD Source",
|
||||
gst_element_class_set_static_metadata (gstelement_class, "DVD Source",
|
||||
"Source/File/DVD",
|
||||
"Access a DVD title/chapter/angle using libdvdread",
|
||||
"Erik Walthinsen <omega@cse.ogi.edu>");
|
||||
|
|
|
@ -233,7 +233,7 @@ gst_lamemp3enc_class_init (GstLameMP3EncClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&gst_lamemp3enc_sink_template));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class,
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"L.A.M.E. mp3 encoder", "Codec/Encoder/Audio",
|
||||
"High-quality free MP3 encoder",
|
||||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
|
|
@ -128,7 +128,7 @@ gst_mad_class_init (GstMadClass * klass)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&mad_src_template_factory));
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "mad mp3 decoder",
|
||||
gst_element_class_set_static_metadata (element_class, "mad mp3 decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"Uses mad code to decode mp3 streams", "Wim Taymans <wim@fluendo.com>");
|
||||
}
|
||||
|
|
|
@ -128,7 +128,7 @@ gst_mad_class_init (GstMadClass * klass)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&mad_src_template_factory));
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "mad mp3 decoder",
|
||||
gst_element_class_set_static_metadata (element_class, "mad mp3 decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"Uses mad code to decode mp3 streams", "Wim Taymans <wim@fluendo.com>");
|
||||
}
|
||||
|
|
|
@ -132,7 +132,7 @@ gst_mpeg2dec_class_init (GstMpeg2decClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&user_data_template_factory));
|
||||
#endif
|
||||
gst_element_class_set_details_simple (gstelement_class,
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"mpeg1 and mpeg2 video decoder", "Codec/Decoder/Video",
|
||||
"Uses libmpeg2 to decode MPEG video streams",
|
||||
"Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
|
|
@ -192,7 +192,7 @@ gst_siddec_class_init (GstSidDecClass * klass)
|
|||
g_param_spec_boxed ("metadata", "Metadata", "Metadata", GST_TYPE_CAPS,
|
||||
(GParamFlags)(G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "Sid decoder",
|
||||
gst_element_class_set_static_metadata (gstelement_class, "Sid decoder",
|
||||
"Codec/Decoder/Audio", "Use libsidplay to decode SID audio tunes",
|
||||
"Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
||||
|
|
|
@ -332,7 +332,7 @@ gst_two_lame_class_init (GstTwoLameClass * klass)
|
|||
gst_element_class_add_pad_template (GST_ELEMENT_CLASS (klass),
|
||||
gst_static_pad_template_get (&gst_two_lame_sink_template));
|
||||
|
||||
gst_element_class_set_details_simple (GST_ELEMENT_CLASS (klass),
|
||||
gst_element_class_set_static_metadata (GST_ELEMENT_CLASS (klass),
|
||||
"TwoLAME mp2 encoder", "Codec/Encoder/Audio",
|
||||
"High-quality free MP2 encoder",
|
||||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
|
|
@ -758,7 +758,7 @@ gst_x264_enc_class_init (GstX264EncClass * klass)
|
|||
/* append weighted prediction parameter */
|
||||
g_string_append_printf (x264enc_defaults, ":weightp=0");
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class,
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"x264enc", "Codec/Encoder/Video", "H264 Encoder",
|
||||
"Josef Zlomek <josef.zlomek@itonis.tv>, "
|
||||
"Mark Nauwelaerts <mnauw@users.sf.net>");
|
||||
|
|
|
@ -121,7 +121,7 @@ gst_asf_demux_class_init (GstASFDemuxClass * klass)
|
|||
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "ASF Demuxer",
|
||||
gst_element_class_set_static_metadata (gstelement_class, "ASF Demuxer",
|
||||
"Codec/Demuxer",
|
||||
"Demultiplexes ASF Streams", "Owen Fraser-Green <owen@discobabe.net>");
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ gst_rtp_asf_depay_class_init (GstRtpAsfDepayClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class,
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"RTP ASF packet depayloader", "Codec/Depayloader/Network",
|
||||
"Extracts ASF streams from RTP",
|
||||
"Tim-Philipp Müller <tim centricular net>, "
|
||||
|
|
|
@ -214,7 +214,7 @@ gst_rtsp_wms_class_init (GstRTSPWMSClass * g_class)
|
|||
|
||||
GST_DEBUG_CATEGORY_INIT (rtspwms_debug, "rtspwms", 0, "WMS RTSP extension");
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "WMS RTSP Extension",
|
||||
gst_element_class_set_static_metadata (element_class, "WMS RTSP Extension",
|
||||
"Network/Extension/Protocol",
|
||||
"Extends RTSP so that it can handle WMS setup",
|
||||
"Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
|
|
@ -120,8 +120,8 @@ gst_dvdlpcmdec_base_init (gpointer g_class)
|
|||
gst_static_pad_template_get (&gst_dvdlpcmdec_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_dvdlpcmdec_src_template));
|
||||
gst_element_class_set_details_simple (element_class, "DVD LPCM Audio decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
gst_element_class_set_static_metadata (element_class,
|
||||
"DVD LPCM Audio decoder", "Codec/Decoder/Audio",
|
||||
"Decode DVD LPCM frames into standard PCM audio",
|
||||
"Jan Schmidt <jan@noraisin.net>, Michael Smith <msmith@fluendo.com>");
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ gst_dvd_sub_dec_class_init (GstDvdSubDecClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&subtitle_template));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class,
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"DVD subtitle decoder", "Codec/Decoder/Video",
|
||||
"Decodes DVD subtitles into AYUV video frames",
|
||||
"Wim Taymans <wim.taymans@gmail.com>, "
|
||||
|
|
|
@ -77,8 +77,9 @@ gst_dvd_sub_parse_class_init (GstDvdSubParseClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "DVD subtitle parser",
|
||||
"Codec/Parser/Subtitle", "Parses and packetizes DVD subtitle streams",
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"DVD subtitle parser", "Codec/Parser/Subtitle",
|
||||
"Parses and packetizes DVD subtitle streams",
|
||||
"Mark Nauwelaerts <mnauw@users.sourceforge.net>");
|
||||
}
|
||||
|
||||
|
|
|
@ -94,8 +94,8 @@ gst_pnm_src_class_init (GstPNMSrcClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&gst_pnm_src_template));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "PNM packet receiver",
|
||||
"Source/Network",
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"PNM packet receiver", "Source/Network",
|
||||
"Receive data over the network via PNM",
|
||||
"Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ gst_real_audio_demux_class_init (GstRealAudioDemuxClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "RealAudio Demuxer",
|
||||
gst_element_class_set_static_metadata (gstelement_class, "RealAudio Demuxer",
|
||||
"Codec/Demuxer",
|
||||
"Demultiplex a RealAudio file",
|
||||
"Tim-Philipp Müller <tim centricular net>");
|
||||
|
|
|
@ -97,7 +97,7 @@ gst_rdt_depay_class_init (GstRDTDepayClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&gst_rdt_depay_sink_template));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "RDT packet parser",
|
||||
gst_element_class_set_static_metadata (gstelement_class, "RDT packet parser",
|
||||
"Codec/Depayloader/Network",
|
||||
"Extracts RealMedia from RDT packets",
|
||||
"Lutz Mueller <lutz at topfrose dot de>, "
|
||||
|
|
|
@ -499,7 +499,7 @@ gst_rdt_manager_class_init (GstRDTManagerClass * g_class)
|
|||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&gst_rdt_manager_rtcp_src_template));
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "RTP Decoder",
|
||||
gst_element_class_set_static_metadata (gstelement_class, "RTP Decoder",
|
||||
"Codec/Parser/Network",
|
||||
"Accepts raw RTP and RTCP packets and sends them forward",
|
||||
"Wim Taymans <wim@fluendo.com>");
|
||||
|
|
|
@ -204,7 +204,7 @@ gst_rmdemux_base_init (GstRMDemuxClass * klass)
|
|||
gst_static_pad_template_get (&gst_rmdemux_videosrc_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_rmdemux_audiosrc_template));
|
||||
gst_element_class_set_details_simple (element_class, "RealMedia Demuxer",
|
||||
gst_element_class_set_static_metadata (element_class, "RealMedia Demuxer",
|
||||
"Codec/Demuxer",
|
||||
"Demultiplex a RealMedia file into audio and video streams",
|
||||
"David Schleef <ds@schleef.org>");
|
||||
|
|
|
@ -675,7 +675,7 @@ gst_rtsp_real_class_init (GstRTSPRealClass * g_class)
|
|||
|
||||
gobject_class->finalize = gst_rtsp_real_finalize;
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class,
|
||||
gst_element_class_set_static_metadata (gstelement_class,
|
||||
"RealMedia RTSP Extension", "Network/Extension/Protocol",
|
||||
"Extends RTSP so that it can handle RealMedia setup",
|
||||
"Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
|
|
@ -98,7 +98,7 @@ gst_synaesthesia_class_init (GstSynaesthesiaClass * klass)
|
|||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_synaesthesia_change_state);
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "Synaesthesia",
|
||||
gst_element_class_set_static_metadata (gstelement_class, "Synaesthesia",
|
||||
"Visualization",
|
||||
"Creates video visualizations of audio input, using stereo and pitch information",
|
||||
"Richard Boulton <richard@tartarus.org>");
|
||||
|
|
|
@ -418,7 +418,7 @@ gst_xing_mux_class_init (GstXingMuxClass * klass)
|
|||
|
||||
GST_DEBUG_CATEGORY_INIT (xing_mux_debug, "xingmux", 0, "Xing Header Muxer");
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "MP3 Xing muxer",
|
||||
gst_element_class_set_static_metadata (gstelement_class, "MP3 Xing muxer",
|
||||
"Formatter/Metadata",
|
||||
"Adds a Xing header to the beginning of a VBR MP3 file",
|
||||
"Christophe Fergeau <teuf@gnome.org>");
|
||||
|
|
Loading…
Reference in a new issue