gst_element_class_set_details => gst_element_class_set_details_simple

This commit is contained in:
Benjamin Otte 2010-03-18 15:53:14 +01:00
parent 43b366ce52
commit 9850bd814f
28 changed files with 113 additions and 226 deletions

View file

@ -53,14 +53,6 @@
#include <liboil/liboilcpu.h>
#include <liboil/liboilfunction.h>
/* elementfactory information */
static GstElementDetails gst_a52dec_details = {
"ATSC A/52 audio decoder",
"Codec/Decoder/Audio",
"Decodes ATSC A/52 encoded audio streams",
"David I. Lehn <dlehn@users.sourceforge.net>"
};
#ifdef LIBA52_DOUBLE
#define SAMPLE_WIDTH 64
#else
@ -140,7 +132,10 @@ gst_a52dec_base_init (gpointer g_class)
gst_static_pad_template_get (&sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
gst_element_class_set_details (element_class, &gst_a52dec_details);
gst_element_class_set_details_simple (element_class,
"ATSC A/52 audio decoder", "Codec/Decoder/Audio",
"Decodes ATSC A/52 encoded audio streams",
"David I. Lehn <dlehn@users.sourceforge.net>");
GST_DEBUG_CATEGORY_INIT (a52dec_debug, "a52dec", 0,
"AC3/A52 software decoder");

View file

@ -114,17 +114,16 @@ static void
gst_amrnbdec_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstElementDetails details = GST_ELEMENT_DETAILS ("AMR-NB audio decoder",
"Codec/Decoder/Audio",
"Adaptive Multi-Rate Narrow-Band audio decoder",
"GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
gst_element_class_add_pad_template (element_class,
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_details (element_class, &details);
gst_element_class_set_details_simple (element_class, "AMR-NB audio decoder",
"Codec/Decoder/Audio",
"Adaptive Multi-Rate Narrow-Band audio decoder",
"GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
}
static void

View file

@ -156,17 +156,16 @@ static void
gst_amrnbenc_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstElementDetails details = GST_ELEMENT_DETAILS ("AMR-NB audio encoder",
"Codec/Encoder/Audio",
"Adaptive Multi-Rate Narrow-Band audio encoder",
"Wim Taymans <wim.taymans@gmail.com>");
gst_element_class_add_pad_template (element_class,
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_details (element_class, &details);
gst_element_class_set_details_simple (element_class, "AMR-NB audio encoder",
"Codec/Encoder/Audio",
"Adaptive Multi-Rate Narrow-Band audio encoder",
"Wim Taymans <wim.taymans@gmail.com>");
}
static void

View file

@ -82,17 +82,16 @@ static void
gst_amrwbdec_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstElementDetails details = GST_ELEMENT_DETAILS ("AMR-WB audio decoder",
"Codec/Decoder/Audio",
"Adaptive Multi-Rate Wideband audio decoder",
"Renato Araujo <renato.filho@indt.org.br>");
gst_element_class_add_pad_template (element_class,
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_details (element_class, &details);
gst_element_class_set_details_simple (element_class, "AMR-WB audio decoder",
"Codec/Decoder/Audio",
"Adaptive Multi-Rate Wideband audio decoder",
"Renato Araujo <renato.filho@indt.org.br>");
}
static void

View file

@ -94,12 +94,6 @@ enum
PROP_READ_SPEED
};
static const GstElementDetails gst_cdio_cdda_src_details =
GST_ELEMENT_DETAILS ("CD audio source (CDDA)",
"Source/File",
"Read audio from CD using libcdio",
"Tim-Philipp Müller <tim centricular net>");
GST_BOILERPLATE (GstCdioCddaSrc, gst_cdio_cdda_src, GstCddaBaseSrc,
GST_TYPE_CDDA_BASE_SRC);
@ -121,7 +115,10 @@ gst_cdio_cdda_src_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details (element_class, &gst_cdio_cdda_src_details);
gst_element_class_set_details_simple (element_class, "CD audio source (CDDA)",
"Source/File",
"Read audio from CD using libcdio",
"Tim-Philipp Müller <tim centricular net>");
}
static gchar *

View file

@ -49,13 +49,6 @@ enum
ARG_ANGLE
};
static GstElementDetails gst_dvd_read_src_details = {
"DVD Source",
"Source/File/DVD",
"Access a DVD title/chapter/angle using libdvdread",
"Erik Walthinsen <omega@cse.ogi.edu>",
};
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@ -106,7 +99,10 @@ gst_dvd_read_src_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&srctemplate));
gst_element_class_set_details (element_class, &gst_dvd_read_src_details);
gst_element_class_set_details_simple (element_class, "DVD Source",
"Source/File/DVD",
"Access a DVD title/chapter/angle using libdvdread",
"Erik Walthinsen <omega@cse.ogi.edu>");
}
static void

View file

@ -92,14 +92,6 @@
GST_DEBUG_CATEGORY_STATIC (debug);
#define GST_CAT_DEFAULT debug
/* elementfactory information */
static GstElementDetails gst_lame_details = {
"L.A.M.E. mp3 encoder",
"Codec/Encoder/Audio",
"High-quality free MP3 encoder (deprecated)",
"Erik Walthinsen <omega@cse.ogi.edu>, " "Wim Taymans <wim@fluendo.com>",
};
/* LAME can do MPEG-1, MPEG-2, and MPEG-2.5, so it has 9 possible
* sample rates it supports */
static GstStaticPadTemplate gst_lame_sink_template =
@ -394,7 +386,10 @@ gst_lame_base_init (gpointer g_class)
gst_static_pad_template_get (&gst_lame_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_lame_sink_template));
gst_element_class_set_details (element_class, &gst_lame_details);
gst_element_class_set_details_simple (element_class, "L.A.M.E. mp3 encoder",
"Codec/Encoder/Audio",
"High-quality free MP3 encoder (deprecated)",
"Erik Walthinsen <omega@cse.ogi.edu>, " "Wim Taymans <wim@fluendo.com>");
}
static void

View file

@ -40,15 +40,6 @@
#include "gstmad.h"
#include <gst/audio/audio.h>
/* elementfactory information */
static const GstElementDetails gst_mad_details =
GST_ELEMENT_DETAILS ("mad mp3 decoder",
"Codec/Decoder/Audio",
"Uses mad code to decode mp3 streams",
"Wim Taymans <wim@fluendo.com>");
enum
{
ARG_0,
@ -189,7 +180,9 @@ gst_mad_base_init (gpointer g_class)
gst_static_pad_template_get (&mad_sink_template_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&mad_src_template_factory));
gst_element_class_set_details (element_class, &gst_mad_details);
gst_element_class_set_details_simple (element_class, "mad mp3 decoder",
"Codec/Decoder/Audio",
"Uses mad code to decode mp3 streams", "Wim Taymans <wim@fluendo.com>");
}
static void

View file

@ -45,13 +45,6 @@ typedef gint mpeg2_state_t;
GST_DEBUG_CATEGORY_STATIC (mpeg2dec_debug);
#define GST_CAT_DEFAULT (mpeg2dec_debug)
/* elementfactory information */
static const GstElementDetails gst_mpeg2dec_details =
GST_ELEMENT_DETAILS ("mpeg1 and mpeg2 video decoder",
"Codec/Decoder/Video",
"Uses libmpeg2 to decode MPEG video streams",
"Wim Taymans <wim.taymans@chello.be>");
/* Send a warning message about decoding errors after receiving this many
* STATE_INVALID return values from mpeg2_parse. -1 means never.
*/
@ -174,7 +167,10 @@ gst_mpeg2dec_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&user_data_template_factory));
#endif
gst_element_class_set_details (element_class, &gst_mpeg2dec_details);
gst_element_class_set_details_simple (element_class,
"mpeg1 and mpeg2 video decoder", "Codec/Decoder/Video",
"Uses libmpeg2 to decode MPEG video streams",
"Wim Taymans <wim.taymans@chello.be>");
}
static void

View file

@ -75,13 +75,6 @@ static struct frmsize_s frmsizecod_tbl[] = {
{640, {1280, 1394, 1920}}
};
/* elementfactory information */
static const GstElementDetails ac3parse_details =
GST_ELEMENT_DETAILS ("AC3 Parser",
"Codec/Parser/Audio",
"Parses and frames AC3 audio streams, provides seek",
"Erik Walthinsen <omega@cse.ogi.edu>");
/* GstAc3Parse signals and args */
enum
{
@ -167,7 +160,10 @@ gst_ac3parse_class_init (gpointer g_class)
gst_static_pad_template_get (&gst_ac3parse_src_template));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_ac3parse_sink_template));
gst_element_class_set_details (gstelement_class, &ac3parse_details);
gst_element_class_set_details_simple (gstelement_class, "AC3 Parser",
"Codec/Parser/Audio",
"Parses and frames AC3 audio streams, provides seek",
"Erik Walthinsen <omega@cse.ogi.edu>");
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SKIP, g_param_spec_int ("skip", "skip", "skip", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); /* CHECKME */

View file

@ -113,12 +113,6 @@ static void
gst_asf_demux_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
static GstElementDetails gst_asf_demux_details = {
"ASF Demuxer",
"Codec/Demuxer",
"Demultiplexes ASF Streams",
"Owen Fraser-Green <owen@discobabe.net>"
};
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&audio_src_template));
@ -127,7 +121,9 @@ gst_asf_demux_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_asf_demux_sink_template));
gst_element_class_set_details (element_class, &gst_asf_demux_details);
gst_element_class_set_details_simple (element_class, "ASF Demuxer",
"Codec/Demuxer",
"Demultiplexes ASF Streams", "Owen Fraser-Green <owen@discobabe.net>");
}
static void

View file

@ -31,13 +31,6 @@
GST_DEBUG_CATEGORY_STATIC (rtpasfdepayload_debug);
#define GST_CAT_DEFAULT rtpasfdepayload_debug
static const GstElementDetails rtp_asf_depay_details =
GST_ELEMENT_DETAILS ("RTP ASF packet depayloader",
"Codec/Depayloader/Network",
"Extracts ASF streams from RTP",
"Tim-Philipp Müller <tim centricular net>, "
"Wim Taymans <wim.taymans@gmail.com>");
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@ -80,7 +73,11 @@ gst_rtp_asf_depay_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details (element_class, &rtp_asf_depay_details);
gst_element_class_set_details_simple (element_class,
"RTP ASF packet depayloader", "Codec/Depayloader/Network",
"Extracts ASF streams from RTP",
"Tim-Philipp Müller <tim centricular net>, "
"Wim Taymans <wim.taymans@gmail.com>");
}
static void

View file

@ -35,13 +35,6 @@
GST_DEBUG_CATEGORY_STATIC (rtspwms_debug);
#define GST_CAT_DEFAULT (rtspwms_debug)
/* elementfactory information */
static const GstElementDetails rtspwms_details =
GST_ELEMENT_DETAILS ("WMS RTSP Extension",
"Network/Extension/Protocol",
"Extends RTSP so that it can handle WMS setup",
"Wim Taymans <wim.taymans@gmail.com>");
#define SERVER_PREFIX "WMServer/"
#define HEADER_PREFIX "data:application/vnd.ms.wms-hdr.asfv1;base64,"
#define EXTENSION_CMD "application/x-wms-extension-cmd"
@ -231,7 +224,10 @@ gst_rtsp_wms_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details (element_class, &rtspwms_details);
gst_element_class_set_details_simple (element_class, "WMS RTSP Extension",
"Network/Extension/Protocol",
"Extends RTSP so that it can handle WMS setup",
"Wim Taymans <wim.taymans@gmail.com>");
}
static void

View file

@ -31,13 +31,6 @@
GST_DEBUG_CATEGORY_STATIC (dvdlpcm_debug);
#define GST_CAT_DEFAULT dvdlpcm_debug
/* elementfactory information */
static const GstElementDetails gst_dvdlpcmdec_details =
GST_ELEMENT_DETAILS ("DVD LPCM Audio decoder",
"Codec/Decoder/Audio",
"Decode DVD LPCM frames into standard PCM audio",
"Jan Schmidt <jan@noraisin.net>\n" "Michael Smith <msmith@fluendo.com>");
static GstStaticPadTemplate gst_dvdlpcmdec_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
@ -127,7 +120,10 @@ 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 (element_class, &gst_dvdlpcmdec_details);
gst_element_class_set_details_simple (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>");
}
static void

View file

@ -38,16 +38,6 @@ GST_DEBUG_CATEGORY_STATIC (ac3iec_debug);
/* The duration of a single IEC958 frame. */
#define IEC958_FRAME_DURATION (32 * GST_MSECOND)
/* ElementFactory information. */
static GstElementDetails ac3iec_details = {
"AC3 to IEC958 filter",
"Codec/Muxer/Audio",
"Pads AC3 frames into IEC958 frames suitable for a raw S/PDIF interface",
"Martin Soto <martinsoto@users.sourceforge.net>"
};
/* AC3IEC signals and args */
enum
{
@ -141,7 +131,10 @@ ac3iec_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details (element_class, &ac3iec_details);
gst_element_class_set_details_simple (element_class, "AC3 to IEC958 filter",
"Codec/Muxer/Audio",
"Pads AC3 frames into IEC958 frames suitable for a raw S/PDIF interface",
"Martin Soto <martinsoto@users.sourceforge.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&ac3iec_sink_template));
gst_element_class_add_pad_template (element_class,

View file

@ -64,15 +64,6 @@ mpeg_audio_seek_entry_free (MPEGAudioSeekEntry * entry)
g_slice_free (MPEGAudioSeekEntry, entry);
}
/* elementfactory information */
static GstElementDetails mp3parse_details = {
"MPEG1 Audio Parser",
"Codec/Parser/Audio",
"Parses and frames mpeg1 audio streams (levels 1-3), provides seek",
"Jan Schmidt <thaytan@mad.scientist.com>\n"
"Erik Walthinsen <omega@cse.ogi.edu>"
};
static GstStaticPadTemplate mp3_src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@ -297,7 +288,11 @@ gst_mp3parse_base_init (gpointer klass)
GST_DEBUG_CATEGORY_INIT (mp3parse_debug, "mp3parse", 0, "MPEG Audio Parser");
gst_element_class_set_details (element_class, &mp3parse_details);
gst_element_class_set_details_simple (element_class, "MPEG1 Audio Parser",
"Codec/Parser/Audio",
"Parses and frames mpeg1 audio streams (levels 1-3), provides seek",
"Jan Schmidt <thaytan@mad.scientist.com>,"
"Erik Walthinsen <omega@cse.ogi.edu>");
}
static void

View file

@ -390,12 +390,6 @@ gst_xing_mux_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
static const GstElementDetails gst_xing_mux_details =
GST_ELEMENT_DETAILS ("MP3 Xing muxer",
"Formatter/Metadata",
"Adds a Xing header to the beginning of a VBR MP3 file",
"Christophe Fergeau <teuf@gnome.org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_xing_mux_src_template));
gst_element_class_add_pad_template (element_class,
@ -403,7 +397,10 @@ gst_xing_mux_base_init (gpointer g_class)
GST_DEBUG_CATEGORY_INIT (xing_mux_debug, "xingmux", 0, "Xing Header Muxer");
gst_element_class_set_details (element_class, &gst_xing_mux_details);
gst_element_class_set_details_simple (element_class, "MP3 Xing muxer",
"Formatter/Metadata",
"Adds a Xing header to the beginning of a VBR MP3 file",
"Christophe Fergeau <teuf@gnome.org>");
}
static void

View file

@ -41,15 +41,6 @@ GST_DEBUG_CATEGORY_STATIC (gstdvddemux_debug);
#define DEMUX_CLASS(o) GST_MPEG_DEMUX_CLASS (G_OBJECT_GET_CLASS (o))
#define CLASS(o) GST_DVD_DEMUX_CLASS (G_OBJECT_GET_CLASS (o))
/* Element factory information */
static GstElementDetails dvd_demux_details = {
"DVD Demuxer",
"Codec/Demuxer",
"Demultiplexes DVD (VOB) MPEG2 streams",
"Martin Soto <martinsoto@users.sourceforge.net>"
};
/* DVDDemux signals and args */
enum
{
@ -227,7 +218,10 @@ gst_dvd_demux_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
dvd_demux_class->cur_subpicture_template);
gst_element_class_set_details (element_class, &dvd_demux_details);
gst_element_class_set_details_simple (element_class, "DVD Demuxer",
"Codec/Demuxer",
"Demultiplexes DVD (VOB) MPEG2 streams",
"Martin Soto <martinsoto@users.sourceforge.net>");
}

View file

@ -30,14 +30,6 @@ GST_DEBUG_CATEGORY_STATIC (gstmpegdemux_debug);
#define PARSE_CLASS(o) GST_MPEG_PARSE_CLASS (G_OBJECT_GET_CLASS (o))
#define CLASS(o) GST_MPEG_DEMUX_CLASS (G_OBJECT_GET_CLASS (o))
/* elementfactory information */
static GstElementDetails mpeg_demux_details = {
"MPEG Demuxer",
"Codec/Demuxer",
"Demultiplexes MPEG1 and MPEG2 System Streams",
"Erik Walthinsen <omega@cse.ogi.edu>\n" "Wim Taymans <wim.taymans@chello.be>"
};
/* MPEG2Demux signals and args */
enum
{
@ -169,7 +161,10 @@ gst_mpeg_demux_base_init (gpointer klass_ptr)
gst_element_class_add_pad_template (element_class, klass->audio_template);
gst_element_class_add_pad_template (element_class, klass->private_template);
gst_element_class_set_details (element_class, &mpeg_demux_details);
gst_element_class_set_details_simple (element_class, "MPEG Demuxer",
"Codec/Demuxer",
"Demultiplexes MPEG1 and MPEG2 System Streams",
"Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim.taymans@chello.be>");
}
static void

View file

@ -41,14 +41,6 @@ GST_DEBUG_CATEGORY_EXTERN (GST_CAT_SEEK);
*/
#define MP_SCR_RATE_HYST 0.08
/* elementfactory information */
static GstElementDetails mpeg_parse_details = {
"MPEG System Parser",
"Codec/Parser",
"Parses MPEG1 and MPEG2 System Streams",
"Erik Walthinsen <omega@cse.ogi.edu>\n" "Wim Taymans <wim.taymans@chello.be>"
};
#define CLASS(o) GST_MPEG_PARSE_CLASS (G_OBJECT_GET_CLASS (o))
#define DEFAULT_MAX_SCR_GAP 120000
@ -128,7 +120,10 @@ gst_mpeg_parse_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details (element_class, &mpeg_parse_details);
gst_element_class_set_details_simple (element_class, "MPEG System Parser",
"Codec/Parser",
"Parses MPEG1 and MPEG2 System Streams",
"Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim.taymans@chello.be>");
}
static void

View file

@ -24,14 +24,6 @@
#endif
#include "gstrfc2250enc.h"
/* elementfactory information */
static GstElementDetails rfc2250_enc_details = {
"RFC 2250 packet encoder",
"Codec/Parser",
"transforms MPEG1/2 video to an RFC 2250 compliant format",
"Wim Taymans <wim.taymans@chello.be>"
};
#define CLASS(o) GST_RFC2250_ENC_CLASS (G_OBJECT_GET_CLASS (o))
/* GstRFC2250Enc signals and args */
@ -112,7 +104,10 @@ gst_rfc2250_enc_base_init (GstRFC2250EncClass * klass)
gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details (element_class, &rfc2250_enc_details);
gst_element_class_set_details_simple (element_class,
"RFC 2250 packet encoder", "Codec/Parser",
"transforms MPEG1/2 video to an RFC 2250 compliant format",
"Wim Taymans <wim.taymans@chello.be>");
}
static void

View file

@ -28,13 +28,6 @@
GST_DEBUG_CATEGORY_STATIC (pnmsrc_debug);
#define GST_CAT_DEFAULT pnmsrc_debug
/* elementfactory information */
static const GstElementDetails gst_pnm_src_details =
GST_ELEMENT_DETAILS ("PNM packet receiver",
"Source/Network",
"Receive data over the network via PNM",
"Wim Taymans <wim.taymans@gmail.com>");
/* PNMSrc signals and args */
enum
{
@ -95,7 +88,10 @@ gst_pnm_src_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_pnm_src_template));
gst_element_class_set_details (element_class, &gst_pnm_src_details);
gst_element_class_set_details_simple (element_class, "PNM packet receiver",
"Source/Network",
"Receive data over the network via PNM",
"Wim Taymans <wim.taymans@gmail.com>");
GST_DEBUG_CATEGORY_INIT (pnmsrc_debug, "pnmsrc",
0, "Source for the pnm:// uri");

View file

@ -47,13 +47,6 @@
#include <string.h>
static GstElementDetails real_audio_demux_details = {
"RealAudio Demuxer",
"Codec/Demuxer",
"Demultiplex a RealAudio file",
"Tim-Philipp Müller <tim centricular net>"
};
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@ -93,7 +86,10 @@ gst_real_audio_demux_base_init (gpointer 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_details (element_class, &real_audio_demux_details);
gst_element_class_set_details_simple (element_class, "RealAudio Demuxer",
"Codec/Demuxer",
"Demultiplex a RealAudio file",
"Tim-Philipp Müller <tim centricular net>");
GST_DEBUG_CATEGORY_INIT (real_audio_demux_debug, "rademux",
0, "Demuxer for RealAudio streams");

View file

@ -30,13 +30,6 @@
GST_DEBUG_CATEGORY_STATIC (rdtdepay_debug);
#define GST_CAT_DEFAULT rdtdepay_debug
/* elementfactory information */
static const GstElementDetails gst_rdtdepay_details =
GST_ELEMENT_DETAILS ("RDT packet parser",
"Codec/Depayloader/Network",
"Extracts RealMedia from RDT packets",
"Lutz Mueller <lutz at topfrose dot de>, " "Wim Taymans <wim@fluendo.com>");
/* RDTDepay signals and args */
enum
{
@ -92,7 +85,11 @@ gst_rdt_depay_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rdt_depay_sink_template));
gst_element_class_set_details (element_class, &gst_rdtdepay_details);
gst_element_class_set_details_simple (element_class, "RDT packet parser",
"Codec/Depayloader/Network",
"Extracts RealMedia from RDT packets",
"Lutz Mueller <lutz at topfrose dot de>, "
"Wim Taymans <wim@fluendo.com>");
GST_DEBUG_CATEGORY_INIT (rdtdepay_debug, "rdtdepay",
0, "Depayloader for RDT RealMedia packets");

View file

@ -61,13 +61,6 @@
GST_DEBUG_CATEGORY_STATIC (rdtmanager_debug);
#define GST_CAT_DEFAULT (rdtmanager_debug)
/* elementfactory information */
static const GstElementDetails rdtmanager_details =
GST_ELEMENT_DETAILS ("RTP Decoder",
"Codec/Parser/Network",
"Accepts raw RTP and RTCP packets and sends them forward",
"Wim Taymans <wim@fluendo.com>");
/* GstRDTManager signals and args */
enum
{
@ -342,7 +335,10 @@ gst_rdt_manager_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rdt_manager_rtcp_src_template));
gst_element_class_set_details (element_class, &rdtmanager_details);
gst_element_class_set_details_simple (element_class, "RTP Decoder",
"Codec/Parser/Network",
"Accepts raw RTP and RTCP packets and sends them forward",
"Wim Taymans <wim@fluendo.com>");
}
/* BOXED:UINT,UINT */

View file

@ -101,13 +101,6 @@ struct _GstRMDemuxIndex
GstClockTime timestamp;
};
static GstElementDetails gst_rmdemux_details = {
"RealMedia Demuxer",
"Codec/Demuxer",
"Demultiplex a RealMedia file into audio and video streams",
"David Schleef <ds@schleef.org>"
};
static GstStaticPadTemplate gst_rmdemux_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
@ -206,7 +199,10 @@ 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 (element_class, &gst_rmdemux_details);
gst_element_class_set_details_simple (element_class, "RealMedia Demuxer",
"Codec/Demuxer",
"Demultiplex a RealMedia file into audio and video streams",
"David Schleef <ds@schleef.org>");
}
static void

View file

@ -44,13 +44,6 @@
GST_DEBUG_CATEGORY_STATIC (rtspreal_debug);
#define GST_CAT_DEFAULT (rtspreal_debug)
/* elementfactory information */
static const GstElementDetails rtspreal_details =
GST_ELEMENT_DETAILS ("RealMedia RTSP Extension",
"Network/Extension/Protocol",
"Extends RTSP so that it can handle RealMedia setup",
"Wim Taymans <wim.taymans@gmail.com>");
#define SERVER_PREFIX "RealServer"
#define DEFAULT_BANDWIDTH "10485800"
@ -693,7 +686,10 @@ gst_rtsp_real_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_set_details (element_class, &rtspreal_details);
gst_element_class_set_details_simple (element_class,
"RealMedia RTSP Extension", "Network/Extension/Protocol",
"Extends RTSP so that it can handle RealMedia setup",
"Wim Taymans <wim.taymans@gmail.com>");
}
static void

View file

@ -38,13 +38,6 @@
#include "gstsynaesthesia.h"
/* elementfactory information */
static const GstElementDetails gst_synaesthesia_details =
GST_ELEMENT_DETAILS ("Synaesthesia",
"Visualization",
"Creates video visualizations of audio input, using stereo and pitch information",
"Richard Boulton <richard@tartarus.org>");
/* signals and args */
enum
{
@ -113,7 +106,10 @@ gst_synaesthesia_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details (element_class, &gst_synaesthesia_details);
gst_element_class_set_details_simple (element_class, "Synaesthesia",
"Visualization",
"Creates video visualizations of audio input, using stereo and pitch information",
"Richard Boulton <richard@tartarus.org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_synaesthesia_src_template));