diff options
69 files changed, 361 insertions, 350 deletions
@@ -1,5 +1,78 @@ 2006-04-06 Tim-Philipp Müller <tim at centricular dot net> + Patch by: j^ <j at bootlab dot org> + + * ext/amrwb/gstamrwbdec.c: + * ext/amrwb/gstamrwbenc.c: + * ext/amrwb/gstamrwbparse.c: + * ext/arts/gst_arts.c: + * ext/artsd/gstartsdsink.c: + * ext/audiofile/gstafparse.c: + * ext/audiofile/gstafsink.c: + * ext/audiofile/gstafsrc.c: + * ext/cdaudio/gstcdaudio.c: + * ext/directfb/dfbvideosink.c: + * ext/divx/gstdivxdec.c: + * ext/divx/gstdivxenc.c: + * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init): + * ext/faac/gstfaac.c: (gst_faac_base_init): + * ext/faad/gstfaad.c: + * ext/gsm/gstgsmdec.c: + * ext/gsm/gstgsmenc.c: + * ext/hermes/gsthermescolorspace.c: + * ext/ivorbis/vorbisfile.c: + * ext/lcs/gstcolorspace.c: + * ext/libfame/gstlibfame.c: + * ext/libmms/gstmms.c: (gst_mms_base_init): + * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init): + * ext/nas/nassink.c: (gst_nassink_base_init): + * ext/neon/gstneonhttpsrc.c: + * ext/polyp/polypsink.c: (gst_polypsink_base_init): + * ext/sdl/sdlaudiosink.c: + * ext/sdl/sdlvideosink.c: + * ext/shout/gstshout.c: + * ext/snapshot/gstsnapshot.c: + * ext/sndfile/gstsf.c: + * ext/tarkin/gsttarkindec.c: + * ext/tarkin/gsttarkinenc.c: + * ext/theora/theoradec.c: + * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init): + * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): + * ext/xvid/gstxviddec.c: + * ext/xvid/gstxvidenc.c: + * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init): + * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init): + * gst/chart/gstchart.c: + * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init): + * gst/festival/gstfestival.c: + * gst/filter/gstiir.c: + * gst/filter/gstlpwsinc.c: + * gst/freeze/gstfreeze.c: + * gst/games/gstpuzzle.c: (gst_puzzle_base_init): + * gst/mixmatrix/mixmatrix.c: + * gst/mpeg1sys/gstmpeg1systemencode.c: + * gst/mpeg1videoparse/gstmp1videoparse.c: + * gst/mpeg2sub/gstmpeg2subt.c: + * gst/mpegaudioparse/gstmpegaudioparse.c: + * gst/multifilesink/gstmultifilesink.c: + * gst/overlay/gstoverlay.c: + * gst/passthrough/gstpassthrough.c: + * gst/playondemand/gstplayondemand.c: + * gst/qtdemux/qtdemux.c: + * gst/rtjpeg/gstrtjpegdec.c: + * gst/rtjpeg/gstrtjpegenc.c: + * gst/smooth/gstsmooth.c: + * gst/tta/gstttadec.c: (gst_tta_dec_base_init): + * gst/tta/gstttaparse.c: (gst_tta_parse_base_init): + * gst/videocrop/gstvideocrop.c: + * gst/videodrop/gstvideodrop.c: + * gst/virtualdub/gstxsharpen.c: + * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init): + * gst/y4m/gsty4mencode.c: + Unify the long descriptions in the plugin details (#337263). + +2006-04-06 Tim-Philipp Müller <tim at centricular dot net> + * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property): Add back "uri" property and mark it as deprecated; undoes diff --git a/ext/amrwb/gstamrwbdec.c b/ext/amrwb/gstamrwbdec.c index 0feed2bda..cba2041de 100644 --- a/ext/amrwb/gstamrwbdec.c +++ b/ext/amrwb/gstamrwbdec.c @@ -23,12 +23,11 @@ #include "gstamrwbdec.h" -static GstElementDetails gst_amrwbdec_details = { - "AMR-WB decoder", - "Codec/Decoder/Audio", - "Adaptive Multi-Rate Wideband audio decoder", - "Renato Araujo <renato.filho@indt.org.br>" -}; +static GstElementDetails gst_amrwbdec_details = +GST_ELEMENT_DETAILS ("AMR-WB audio decoder", + "Codec/Decoder/Audio", + "Adaptive Multi-Rate Wideband audio decoder", + "Renato Araujo <renato.filho@indt.org.br>"); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/amrwb/gstamrwbenc.c b/ext/amrwb/gstamrwbenc.c index ad2ccecc5..3ce373e61 100644 --- a/ext/amrwb/gstamrwbenc.c +++ b/ext/amrwb/gstamrwbenc.c @@ -23,12 +23,11 @@ #include "gstamrwbenc.h" -static GstElementDetails gst_amrwbenc_details = { - "AMR-WB encoder", - "Codec/Encoder/Audio", - "Adaptive Multi-Rate Wideband audio encoder", - "Renato Araujo <renato.filho@indt.org.br>" -}; +static GstElementDetails gst_amrwbenc_details = +GST_ELEMENT_DETAILS ("AMR-WB audio encoder", + "Codec/Encoder/Audio", + "Adaptive Multi-Rate Wideband audio encoder", + "Renato Araujo <renato.filho@indt.org.br>"); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/amrwb/gstamrwbparse.c b/ext/amrwb/gstamrwbparse.c index 9cd033718..69b6d207c 100644 --- a/ext/amrwb/gstamrwbparse.c +++ b/ext/amrwb/gstamrwbparse.c @@ -31,12 +31,11 @@ GST_DEBUG_CATEGORY_STATIC (amrwbparse_debug); #define GST_CAT_DEFAULT amrwbparse_debug -static GstElementDetails gst_amrwbparse_details = { - "AMR-WB parser", - "Codec/Parser/Audio", - "Adaptive Multi-Rate WideBand audio parser", - "Renato Filho <renato.filho@indt.org.br>" -}; +static GstElementDetails gst_amrwbparse_details = +GST_ELEMENT_DETAILS ("AMR-WB parser", + "Codec/Parser/Audio", + "Adaptive Multi-Rate WideBand audio parser", + "Renato Filho <renato.filho@indt.org.br>"); static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/ext/arts/gst_arts.c b/ext/arts/gst_arts.c index 1345c92e0..a74952cac 100644 --- a/ext/arts/gst_arts.c +++ b/ext/arts/gst_arts.c @@ -43,13 +43,11 @@ #include "gst_artsio_impl.h" /* elementfactory information */ -static GstElementDetails gst_arts_details = { - "aRts plugin", - "Filter/Audio", - "aRts wrapper filter", - "Erik Walthinsen <omega@temple-baptist.com,\n" - "Stefan Westerfeld <stefan@space.twc.de>", -}; +static GstElementDetails gst_arts_details = GST_ELEMENT_DETAILS ("aRts plugin", + "Filter/Audio", + "aRts wrapper filter", + "Erik Walthinsen <omega@temple-baptist.com,\n" + "Stefan Westerfeld <stefan@space.twc.de>"); static GstStaticPadTemplate sink_temp = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c index 6caf42ec7..cfc8a382a 100644 --- a/ext/artsd/gstartsdsink.c +++ b/ext/artsd/gstartsdsink.c @@ -27,12 +27,11 @@ #include <gst/audio/audio.h> /* elementfactory information */ -static GstElementDetails artsdsink_details = { - "aRtsd audio sink", - "Sink/Audio", - "Plays audio to an aRts server", - "Richard Boulton <richard-gst@tartarus.org>", -}; +static GstElementDetails artsdsink_details = +GST_ELEMENT_DETAILS ("aRtsd audio sink", + "Sink/Audio", + "Plays audio to an aRts server", + "Richard Boulton <richard-gst@tartarus.org>",); /* Signals and args */ enum diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c index 35b5b497e..fed9fa806 100644 --- a/ext/audiofile/gstafparse.c +++ b/ext/audiofile/gstafparse.c @@ -30,12 +30,11 @@ #include "gstafparse.h" /* elementfactory information */ -static GstElementDetails afparse_details = { - "Audiofile Parse", - "Codec/Demuxer/Audio", - "Audiofile parser for audio/raw", - "Steve Baker <stevebaker_org@yahoo.co.uk>", -}; +static GstElementDetails afparse_details = +GST_ELEMENT_DETAILS ("Audiofile demuxer", + "Codec/Demuxer/Audio", + "Audiofile parser for audio/raw", + "Steve Baker <stevebaker_org@yahoo.co.uk>"); /* AFParse signals and args */ diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c index ace3c388c..97105fa57 100644 --- a/ext/audiofile/gstafsink.c +++ b/ext/audiofile/gstafsink.c @@ -34,12 +34,10 @@ #include "gstafsink.h" /* elementfactory information */ -static GstElementDetails afsink_details = { - "Audiofile Sink", - "Sink/Audio", - "Write audio streams to disk using libaudiofile", - "Thomas Vander Stichele <thomas@apestaart.org>", -}; +static GstElementDetails afsink_details = GST_ELEMENT_DETAILS ("Audiofile sink", + "Sink/Audio", + "Write audio streams to disk using libaudiofile", + "Thomas Vander Stichele <thomas@apestaart.org>"); /* AFSink signals and args */ diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c index e864cf8f5..12e6b29d6 100644 --- a/ext/audiofile/gstafsrc.c +++ b/ext/audiofile/gstafsrc.c @@ -34,12 +34,11 @@ #include "gstafsrc.h" /* elementfactory information */ -static GstElementDetails afsrc_details = { - "Audiofile Src", - "Source/Audio", - "Read audio files from disk using libaudiofile", - "Thomas <thomas@apestaart.org>", -}; +static GstElementDetails afsrc_details = +GST_ELEMENT_DETAILS ("Audiofile source", + "Source/Audio", + "Read audio files from disk using libaudiofile", + "Thomas <thomas@apestaart.org>"); /* AFSrc signals and args */ diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c index c1ddbd586..3a87414af 100644 --- a/ext/cdaudio/gstcdaudio.c +++ b/ext/cdaudio/gstcdaudio.c @@ -110,12 +110,10 @@ static GstFormat sector_format; static GstBinClass *parent_class; static guint gst_cdaudio_signals[LAST_SIGNAL] = { 0 }; -static GstElementDetails gst_cdaudio_details = { - "CD Player", - "Generic/Bin", - "Play CD audio through the CD Drive", - "Wim Taymans <wim@fluendo.com>", -}; +static GstElementDetails gst_cdaudio_details = GST_ELEMENT_DETAILS ("CD player", + "Generic/Bin", + "Play CD audio through the CD Drive", + "Wim Taymans <wim@fluendo.com>"); static void diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index 99e56bdf8..3dc6c6eb2 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -103,7 +103,7 @@ GST_DEBUG_CATEGORY (dfbvideosink_debug); /* ElementFactory information */ static GstElementDetails gst_dfbvideosink_details = -GST_ELEMENT_DETAILS ("Video sink", +GST_ELEMENT_DETAILS ("DirectFB video sink", "Sink/Video", "A DirectFB based videosink", "Julien Moutte <julien@moutte.net>"); diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c index 29b838e21..1c97cca43 100644 --- a/ext/divx/gstdivxdec.c +++ b/ext/divx/gstdivxdec.c @@ -26,12 +26,11 @@ #include <gst/video/video.h> /* elementfactory information */ -GstElementDetails gst_divxdec_details = { - "Divx4linux decoder", - "Codec/Decoder/Video", - "Divx decoder based on divxdecore", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" -}; +GstElementDetails gst_divxdec_details = +GST_ELEMENT_DETAILS ("Divx4linux video decoder", + "Codec/Decoder/Video", + "Divx decoder based on divxdecore", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c index 5269e01eb..edb5172b5 100644 --- a/ext/divx/gstdivxenc.c +++ b/ext/divx/gstdivxenc.c @@ -27,12 +27,11 @@ #include <encore2.h> /* elementfactory information */ -GstElementDetails gst_divxenc_details = { - "Divx4linux encoder", - "Codec/Encoder/Video", - "Divx encoder based on divxencore", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" -}; +GstElementDetails gst_divxenc_details = +GST_ELEMENT_DETAILS ("Divx4linux video encoder", + "Codec/Encoder/Video", + "Divx encoder based on divxencore", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c index e759c6db6..c26b50552 100644 --- a/ext/dts/gstdtsdec.c +++ b/ext/dts/gstdtsdec.c @@ -101,12 +101,11 @@ static void gst_dtsdec_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - static GstElementDetails gst_dtsdec_details = { - "DTS audio decoder", - "Codec/Decoder/Audio", - "Decodes DTS audio streams", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" - }; + static GstElementDetails gst_dtsdec_details = + GST_ELEMENT_DETAILS ("DTS audio decoder", + "Codec/Decoder/Audio", + "Decodes DTS audio streams", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_factory)); diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c index 038b3c157..a6ca44ace 100644 --- a/ext/faac/gstfaac.c +++ b/ext/faac/gstfaac.c @@ -122,12 +122,10 @@ gst_faac_get_type (void) static void gst_faac_base_init (GstFaacClass * klass) { - GstElementDetails gst_faac_details = { - "Free AAC Encoder (FAAC)", - "Codec/Encoder/Audio", - "Free MPEG-2/4 AAC encoder", - "Ronald Bultje <rbultje@ronald.bitfreak.net>", - }; + GstElementDetails gst_faac_details = GST_ELEMENT_DETAILS ("AAC audio encoder", + "Codec/Encoder/Audio", + "Free MPEG-2/4 AAC encoder", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 22834e540..8adf538eb 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -50,12 +50,11 @@ extern int8_t faacDecInit2 (faacDecHandle, guint8 *, guint32, GST_DEBUG_CATEGORY_STATIC (faad_debug); #define GST_CAT_DEFAULT faad_debug -static GstElementDetails faad_details = { - "Free AAC Decoder (FAAD)", - "Codec/Decoder/Audio", - "Free MPEG-2/4 AAC decoder", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" -}; +static GstElementDetails faad_details = +GST_ELEMENT_DETAILS ("AAC audio decoder", + "Codec/Decoder/Audio", + "Free MPEG-2/4 AAC decoder", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c index a3ec28ed3..1b9eadf47 100644 --- a/ext/gsm/gstgsmdec.c +++ b/ext/gsm/gstgsmdec.c @@ -31,12 +31,10 @@ GST_DEBUG_CATEGORY (gsmdec_debug); #define GST_CAT_DEFAULT (gsmdec_debug) /* elementfactory information */ -GstElementDetails gst_gsmdec_details = { - "GSM audio decoder", - "Codec/Decoder/Audio", - "Decodes GSM encoded audio", - "Philippe Khalaf <burger@speedy.org>", -}; +GstElementDetails gst_gsmdec_details = GST_ELEMENT_DETAILS ("GSM audio decoder", + "Codec/Decoder/Audio", + "Decodes GSM encoded audio", + "Philippe Khalaf <burger@speedy.org>"); /* GSMDec signals and args */ enum diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c index 4c69d1e62..c4707ecf1 100644 --- a/ext/gsm/gstgsmenc.c +++ b/ext/gsm/gstgsmenc.c @@ -31,12 +31,10 @@ GST_DEBUG_CATEGORY (gsmenc_debug); #define GST_CAT_DEFAULT (gsmenc_debug) /* elementfactory information */ -GstElementDetails gst_gsmenc_details = { - "GSM audio encoder", - "Codec/Encoder/Audio", - "Encodes GSM audio", - "Philippe Khalaf <burger@speedy.org>", -}; +GstElementDetails gst_gsmenc_details = GST_ELEMENT_DETAILS ("GSM audio encoder", + "Codec/Encoder/Audio", + "Encodes GSM audio", + "Philippe Khalaf <burger@speedy.org>"); /* GSMEnc signals and args */ enum diff --git a/ext/hermes/gsthermescolorspace.c b/ext/hermes/gsthermescolorspace.c index 384983e05..5eb1affca 100644 --- a/ext/hermes/gsthermescolorspace.c +++ b/ext/hermes/gsthermescolorspace.c @@ -100,12 +100,11 @@ static GstHermesColorspaceFormat gst_hermes_colorspace_formats[] = { {GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB_16)}, }; -static GstElementDetails colorspace_details = { - "Colorspace converter", - "Filter/Converter/Video", - "Converts video from one colorspace to another using libhermes", - "Wim Taymans <wim.taymans@chello.be>", -}; +static GstElementDetails colorspace_details = +GST_ELEMENT_DETAILS ("Colorspace converter", + "Filter/Converter/Video", + "Converts video from one colorspace to another using libhermes", + "Wim Taymans <wim.taymans@chello.be>"); /* Stereo signals and args */ diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c index 0268b8c31..3b7caae26 100644 --- a/ext/ivorbis/vorbisfile.c +++ b/ext/ivorbis/vorbisfile.c @@ -85,14 +85,13 @@ GType ivorbisfile_get_type (void); static GstPadTemplate *gst_vorbisdec_src_template, *gst_vorbisdec_sink_template; /* elementfactory information */ -GstElementDetails ivorbisfile_details = { - "Ogg Vorbis decoder", - "Codec/Decoder/Audio", - "Decodes OGG Vorbis audio using the Tremor vorbisfile API", - "Monty <monty@xiph.org>\n" - "Wim Taymans <wim.taymans@chello.be>\n" - "Amaury Jacquot <sxpert@esitcom.org>", -}; +GstElementDetails ivorbisfile_details = +GST_ELEMENT_DETAILS ("Ogg Vorbis audio decoder", + "Codec/Decoder/Audio", + "Decodes OGG Vorbis audio using the Tremor vorbisfile API", + "Monty <monty@xiph.org>\n" + "Wim Taymans <wim.taymans@chello.be>\n" + "Amaury Jacquot <sxpert@esitcom.org>"); /* Ivorbisfile signals and args */ enum diff --git a/ext/lcs/gstcolorspace.c b/ext/lcs/gstcolorspace.c index 4ff983cc5..a2a67f8b9 100644 --- a/ext/lcs/gstcolorspace.c +++ b/ext/lcs/gstcolorspace.c @@ -59,12 +59,11 @@ struct _GstColorspaceClass }; /* elementfactory information */ -static GstElementDetails colorspace_details = { - "Colorspace converter", - "Filter/Effect", - "Converts video from one colorspace to another", - "Wim Taymans <wim.taymans@chello.be>" -}; +static GstElementDetails colorspace_details = +GST_ELEMENT_DETAILS ("Colorspace converter", + "Filter/Effect", + "Converts video from one colorspace to another", + "Wim Taymans <wim.taymans@chello.be>"); /* Stereo signals and args */ diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c index f33dfd199..011c249c8 100644 --- a/ext/libfame/gstlibfame.c +++ b/ext/libfame/gstlibfame.c @@ -30,12 +30,11 @@ #define FAMEENC_BUFFER_SIZE (300 * 1024) /* elementfactory information */ -static GstElementDetails gst_fameenc_details = { - "MPEG1 and MPEG4 video encoder using the libfame library", - "Codec/Encoder/Video", - "Uses fameenc to encode MPEG video streams", - "Thomas Vander Stichele <thomas@apestaart.org>" -}; +static GstElementDetails gst_fameenc_details = +GST_ELEMENT_DETAILS ("MPEG-1 and MPEG-4 video encoder", + "Codec/Encoder/Video", + "Uses fameenc to encode MPEG video streams", + "Thomas Vander Stichele <thomas@apestaart.org>"); static GQuark fame_object_name; diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index afb1c82c9..462431fe1 100644 --- a/ext/libmms/gstmms.c +++ b/ext/libmms/gstmms.c @@ -77,12 +77,11 @@ GST_BOILERPLATE_FULL (GstMMS, gst_mms, GstPushSrc, GST_TYPE_PUSH_SRC, static void gst_mms_base_init (gpointer g_class) { - static GstElementDetails plugin_details = { - "MMS streaming protocol support", - "Source/Network", - "Receive data streamed via MSFT Multi Media Server protocol", - "Maciej Katafiasz <mathrick@users.sourceforge.net>" - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("MMS streaming source", + "Source/Network", + "Receive data streamed via MSFT Multi Media Server protocol", + "Maciej Katafiasz <mathrick@users.sourceforge.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); gst_element_class_add_pad_template (element_class, diff --git a/ext/musicbrainz/gsttrm.c b/ext/musicbrainz/gsttrm.c index e47ef6ee1..f4b791e0d 100644 --- a/ext/musicbrainz/gsttrm.c +++ b/ext/musicbrainz/gsttrm.c @@ -115,12 +115,11 @@ gst_musicbrainz_get_type (void) static void gst_musicbrainz_base_init (GstMusicBrainzClass * klass) { - GstElementDetails gst_musicbrainz_details = { - "Compute TRM Id", - "Filter/Analyzer/Audio", - "Compute TRM Id from muscibrainz", - "Jeremy Simon <jsimon13@yahoo.fr>", - }; + GstElementDetails gst_musicbrainz_details = + GST_ELEMENT_DETAILS ("Musicbrainz TRM generator", + "Filter/Analyzer/Audio", + "Compute TRM Id from muscibrainz", + "Jeremy Simon <jsimon13@yahoo.fr>"); GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c index 7dfd2b56d..5030f6383 100644 --- a/ext/nas/nassink.c +++ b/ext/nas/nassink.c @@ -125,13 +125,12 @@ gst_nassink_get_type (void) static void gst_nassink_base_init (gpointer g_class) { - static GstElementDetails nassink_details = { - "NAS sink", - "Sink/Audio", - "Plays audio to a Network Audio Server", - "Laurent Vivier <Laurent.Vivier@bull.net>, " - "Arwed v. Merkatz <v.merkatz@gmx.net>" - }; + static GstElementDetails nassink_details = + GST_ELEMENT_DETAILS ("NAS audio sink", + "Sink/Audio", + "Plays audio to a Network Audio Server", + "Laurent Vivier <Laurent.Vivier@bull.net>, " + "Arwed v. Merkatz <v.merkatz@gmx.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); gst_element_class_add_pad_template (element_class, diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index 9b05d2993..7cc11383f 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -31,9 +31,9 @@ GST_DEBUG_CATEGORY (neonhttpsrc_debug); static GstElementDetails gst_neonhttp_src_details = -GST_ELEMENT_DETAILS ("NEON HTTP Client source", +GST_ELEMENT_DETAILS ("HTTP client source", "Source/Network", - "Receive data as a client over the network via HTTP", + "Receive data as a client over the network via HTTP using NEON", "Edgard Lima <edgard.lima@indt.org.br>"); static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/ext/polyp/polypsink.c b/ext/polyp/polypsink.c index a18569b4d..13ad6654a 100644 --- a/ext/polyp/polypsink.c +++ b/ext/polyp/polypsink.c @@ -63,12 +63,11 @@ gst_polypsink_base_init (gpointer g_class) ) ); - static const GstElementDetails details = { - "Polypaudio Audio Sink", - "Sink/Audio", - "Plays audio to a Polypaudio server", - "Lennart Poettering", - }; + static const GstElementDetails details = + GST_ELEMENT_DETAILS ("Polypaudio audio sink", + "Sink/Audio", + "Plays audio to a Polypaudio server", + "Lennart Poettering"); GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c index 8526996bf..8858e482b 100644 --- a/ext/sdl/sdlaudiosink.c +++ b/ext/sdl/sdlaudiosink.c @@ -28,7 +28,7 @@ GST_DEBUG_CATEGORY_EXTERN (sdl_debug); /* elementfactory information */ static GstElementDetails gst_sdlaudio_sink_details = -GST_ELEMENT_DETAILS ("Audio Sink (SDLAUDIO)", +GST_ELEMENT_DETAILS ("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 cacf8ac7f..6834edf6d 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -49,14 +49,13 @@ GST_DEBUG_CATEGORY_EXTERN (sdl_debug); #define I420_SIZE(w,h) (I420_V_OFFSET(w,h)+(I420_V_ROWSTRIDE(w)*GST_ROUND_UP_2(h)/2)) /* elementfactory information */ -static GstElementDetails gst_sdlvideosink_details = { - "Video sink", - "Sink/Video", - "An SDL-based videosink", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" - "Edgard Lima <edgard.lima@indt.org.br>" - "Jan Schmidt <thaytan@mad.scientist.com>" -}; +static GstElementDetails gst_sdlvideosink_details = +GST_ELEMENT_DETAILS ("SDL video sink", + "Sink/Video", + "An SDL-based videosink", + "Ronald Bultje <rbultje@ronald.bitfreak.net>" + "Edgard Lima <edgard.lima@indt.org.br>" + "Jan Schmidt <thaytan@mad.scientist.com>"); enum diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c index 48e0e100c..c98b4fc43 100644 --- a/ext/shout/gstshout.c +++ b/ext/shout/gstshout.c @@ -23,12 +23,11 @@ #include "gstshout.h" /* elementfactory information */ -static GstElementDetails icecastsend_details = { - "An Icecast plugin", - "Sink/Network", - "Sends data to an icecast server using libshout", - "Wim Taymans <wim.taymans@chello.be>" -}; +static GstElementDetails icecastsend_details = +GST_ELEMENT_DETAILS ("Icecast network sink", + "Sink/Network", + "Sends data to an icecast server using libshout", + "Wim Taymans <wim.taymans@chello.be>"); static char *SHOUT_ERRORS[] = { "ok", diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c index 60ca50d33..4b89f6c19 100644 --- a/ext/snapshot/gstsnapshot.c +++ b/ext/snapshot/gstsnapshot.c @@ -29,12 +29,10 @@ #define MAX_HEIGHT 2048 /* elementfactory information */ -static GstElementDetails snapshot_details = { - "snapshot", - "Filter/Editor/Video", - "Dump a frame to a png file", - "Jeremy SIMON <jsimon13@yahoo.fr>", -}; +static GstElementDetails snapshot_details = GST_ELEMENT_DETAILS ("Snapshot", + "Filter/Editor/Video", + "Dump a frame to a png file", + "Jeremy SIMON <jsimon13@yahoo.fr>"); static GstStaticPadTemplate snapshot_src_factory = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c index 19e99e6a7..de7a28c48 100644 --- a/ext/sndfile/gstsf.c +++ b/ext/sndfile/gstsf.c @@ -31,19 +31,15 @@ #include "gstsf.h" -static GstElementDetails sfsrc_details = { - "Sndfile Source", - "Source/Audio", - "Read audio streams from disk using libsndfile", - "Andy Wingo <wingo at pobox dot com>", -}; - -static GstElementDetails sfsink_details = { - "Sndfile Sink", - "Sink/Audio", - "Write audio streams to disk using libsndfile", - "Andy Wingo <wingo at pobox dot com>", -}; +static GstElementDetails sfsrc_details = GST_ELEMENT_DETAILS ("Sndfile source", + "Source/Audio", + "Read audio streams from disk using libsndfile", + "Andy Wingo <wingo at pobox dot com>"); + +static GstElementDetails sfsink_details = GST_ELEMENT_DETAILS ("Sndfile sink", + "Sink/Audio", + "Write audio streams to disk using libsndfile", + "Andy Wingo <wingo at pobox dot com>"); enum { diff --git a/ext/tarkin/gsttarkindec.c b/ext/tarkin/gsttarkindec.c index a7066f3e6..88713ae7b 100644 --- a/ext/tarkin/gsttarkindec.c +++ b/ext/tarkin/gsttarkindec.c @@ -29,12 +29,11 @@ static GstPadTemplate *dec_src_template, *dec_sink_template; /* elementfactory information */ -GstElementDetails tarkindec_details = { - "Ogg Tarkin decoder", - "Codec/Decoder/Video", - "Decodes video in OGG Tarkin format", - "Monty <monty@xiph.org>, " "Wim Taymans <wim.taymans@chello.be>", -}; +GstElementDetails tarkindec_details = +GST_ELEMENT_DETAILS ("Tarkin video decoder", + "Codec/Decoder/Video", + "Decodes video in OGG Tarkin format", + "Monty <monty@xiph.org>, " "Wim Taymans <wim.taymans@chello.be>"); /* TarkinDec signals and args */ enum diff --git a/ext/tarkin/gsttarkinenc.c b/ext/tarkin/gsttarkinenc.c index 9727aa330..2b77ec200 100644 --- a/ext/tarkin/gsttarkinenc.c +++ b/ext/tarkin/gsttarkinenc.c @@ -29,12 +29,11 @@ static GstPadTemplate *enc_src_template, *enc_sink_template; /* elementfactory information */ -GstElementDetails tarkinenc_details = { - "Ogg Tarkin encoder", - "Codec/Encoder/Video", - "Encodes video in OGG Tarkin format", - "Monty <monty@xiph.org>, " "Wim Taymans <wim.taymans@chello.be>", -}; +GstElementDetails tarkinenc_details = +GST_ELEMENT_DETAILS ("Tarkin video encoder", + "Codec/Encoder/Video", + "Encodes video in OGG Tarkin format", + "Monty <monty@xiph.org>, " "Wim Taymans <wim.taymans@chello.be>"); /* TarkinEnc signals and args */ enum diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index ba7b0c562..7dc6fe877 100644 --- a/ext/theora/theoradec.c +++ b/ext/theora/theoradec.c @@ -52,9 +52,9 @@ GST_DEBUG_CATEGORY (theoradecexp_debug); #define GST_CAT_DEFAULT theoradecexp_debug static GstElementDetails theora_dec_details = -GST_ELEMENT_DETAILS ("TheoraExpDec", +GST_ELEMENT_DETAILS ("Theora video decoder", "Codec/Decoder/Video", - "decode raw theora streams to raw YUV video", + "decode raw theora streams to raw YUV video using libtheoradec", "Benjamin Otte <in7y118@public.uni-hamburg.de>, " "Wim Taymans <wim@fluendo.com>, " "Michael Smith <msmith@fluendo,com>"); diff --git a/ext/wavpack/gstwavpackdec.c b/ext/wavpack/gstwavpackdec.c index a7df49c6d..50dcc792c 100644 --- a/ext/wavpack/gstwavpackdec.c +++ b/ext/wavpack/gstwavpackdec.c @@ -127,12 +127,11 @@ gst_wavpack_dec_wvclink (GstPad * pad, GstPad * peer) static void gst_wavpack_dec_base_init (gpointer klass) { - static GstElementDetails plugin_details = { - "WAVPACK decoder", - "Codec/Decoder/Audio", - "Decode Wavpack audio data", - "Arwed v. Merkatz <v.merkatz@gmx.net>" - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("WavePack audio decoder", + "Codec/Decoder/Audio", + "Decode Wavpack audio data", + "Arwed v. Merkatz <v.merkatz@gmx.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, diff --git a/ext/wavpack/gstwavpackparse.c b/ext/wavpack/gstwavpackparse.c index f00e337e6..59ef81fab 100644 --- a/ext/wavpack/gstwavpackparse.c +++ b/ext/wavpack/gstwavpackparse.c @@ -72,12 +72,11 @@ GST_BOILERPLATE (GstWavpackParse, gst_wavpack_parse, GstElement, static void gst_wavpack_parse_base_init (gpointer klass) { - static GstElementDetails plugin_details = { - "Wavpack file parser", - "Codec/Demuxer/Audio", - "Parses Wavpack files", - "Arwed v. Merkatz <v.merkatz@gmx.net>" - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("WavePack parser", + "Codec/Demuxer/Audio", + "Parses Wavpack files", + "Arwed v. Merkatz <v.merkatz@gmx.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, @@ -332,7 +331,8 @@ gst_wavpack_parse_scan_to_find_sample (GstWavpackParse * parse, /* now scan forward until we find the chunk we're looking for or hit EOS */ do { WavpackHeader header = { {0,} - , 0, }; + , 0, + }; GstBuffer *buf; buf = gst_wavpack_parse_pull_buffer (parse, off, sizeof (WavpackHeader), diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c index 94da4e9b4..a7697a198 100644 --- a/ext/xvid/gstxviddec.c +++ b/ext/xvid/gstxviddec.c @@ -28,12 +28,11 @@ #include "gstxviddec.h" /* elementfactory information */ -GstElementDetails gst_xviddec_details = { - "Xvid decoder", - "Codec/Decoder/Video", - "Xvid decoder based on xvidcore", - "Ronald Bultje <rbultje@ronald.bitfreak.net>", -}; +GstElementDetails gst_xviddec_details = +GST_ELEMENT_DETAILS ("XviD video decoder", + "Codec/Decoder/Video", + "XviD decoder based on xvidcore", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c index d358f7a9a..6eaf329c6 100644 --- a/ext/xvid/gstxvidenc.c +++ b/ext/xvid/gstxvidenc.c @@ -29,12 +29,11 @@ #include "gstxvidenc.h" /* elementfactory information */ -GstElementDetails gst_xvidenc_details = { - "Xvid encoder", - "Codec/Encoder/Video", - "Xvid encoder based on xvidcore", - "Ronald Bultje <rbultje@ronald.bitfreak.net>", -}; +GstElementDetails gst_xvidenc_details = +GST_ELEMENT_DETAILS ("XviD video encoder", + "Codec/Encoder/Video", + "XviD encoder based on xvidcore", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c index f90762ed7..e8a072f66 100644 --- a/gst/cdxaparse/gstcdxaparse.c +++ b/gst/cdxaparse/gstcdxaparse.c @@ -62,9 +62,9 @@ GST_BOILERPLATE (GstCDXAParse, gst_cdxa_parse, GstElement, GST_TYPE_ELEMENT) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); static GstElementDetails gst_cdxa_parse_details = - GST_ELEMENT_DETAILS (".dat parser", + GST_ELEMENT_DETAILS ("(S)VCD parser", "Codec/Parser", - "Parse a .dat file (VCD) into raw mpeg1", + "Parse a .dat file from (S)VCD into raw MPEG-1", "Wim Taymans <wim.taymans@tvd.be>"); gst_element_class_set_details (element_class, &gst_cdxa_parse_details); diff --git a/gst/cdxaparse/gstcdxastrip.c b/gst/cdxaparse/gstcdxastrip.c index 66bd9a2c9..895acf4c3 100644 --- a/gst/cdxaparse/gstcdxastrip.c +++ b/gst/cdxaparse/gstcdxastrip.c @@ -87,7 +87,7 @@ gst_cdxastrip_base_init (GstCDXAStripClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); static GstElementDetails gst_cdxastrip_details = - GST_ELEMENT_DETAILS ("vcd parser", + GST_ELEMENT_DETAILS ("(S)VCD stream parser", "Codec/Parser", "Strip (S)VCD stream from its syncheaders", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/gst/cdxaparse/gstvcdparse.c b/gst/cdxaparse/gstvcdparse.c index 66bd9a2c9..895acf4c3 100644 --- a/gst/cdxaparse/gstvcdparse.c +++ b/gst/cdxaparse/gstvcdparse.c @@ -87,7 +87,7 @@ gst_cdxastrip_base_init (GstCDXAStripClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); static GstElementDetails gst_cdxastrip_details = - GST_ELEMENT_DETAILS ("vcd parser", + GST_ELEMENT_DETAILS ("(S)VCD stream parser", "Codec/Parser", "Strip (S)VCD stream from its syncheaders", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c index d2b4c047f..af6fd9c68 100644 --- a/gst/chart/gstchart.c +++ b/gst/chart/gstchart.c @@ -64,12 +64,11 @@ GType gst_chart_get_type (void); /* elementfactory information */ -static GstElementDetails gst_chart_details = { - "chart drawer", - "Visualization", - "Takes frames of data and outputs video frames of a chart of data", - "Richard Boulton <richard@tartarus.org>", -}; +static GstElementDetails gst_chart_details = +GST_ELEMENT_DETAILS ("Chart drawer", + "Visualization", + "Takes frames of data and outputs video frames of a chart of data", + "Richard Boulton <richard@tartarus.org>"); /* signals and args */ enum diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c index 0075ff199..c7d67d309 100644 --- a/gst/equalizer/gstiirequalizer.c +++ b/gst/equalizer/gstiirequalizer.c @@ -129,12 +129,11 @@ gst_iir_equalizer_get_type (void) static void gst_iir_equalizer_base_init (gpointer g_class) { - static GstElementDetails iir_equalizer_details = { - "Equalizer", - "Filter/Effect/Audio", - "Direct Form IIR equalizer", - "Benjamin Otte <otte@gnome.org>" - }; + static GstElementDetails iir_equalizer_details = + GST_ELEMENT_DETAILS ("Equalizer", + "Filter/Effect/Audio", + "Direct Form IIR equalizer", + "Benjamin Otte <otte@gnome.org>"); GstIirEqualizerClass *klass = (GstIirEqualizerClass *) g_class; GstElementClass *element_class = GST_ELEMENT_CLASS (klass); GstCaps *caps; diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index 21f491e53..140149683 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -91,7 +91,7 @@ static char *client_accept_s_expr (int fd); /* elementfactory information */ static GstElementDetails gst_festival_details = -GST_ELEMENT_DETAILS ("Festival synthesizer", +GST_ELEMENT_DETAILS ("Festival Text-to-Speech synthesizer", "Filter/Effect/Audio", "Synthesizes plain text into audio", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/gst/filter/gstiir.c b/gst/filter/gstiir.c index 818d495b1..1aee2d5f2 100644 --- a/gst/filter/gstiir.c +++ b/gst/filter/gstiir.c @@ -25,7 +25,8 @@ #include "gstfilter.h" #include "iir.h" -static GstElementDetails gst_iir_details = GST_ELEMENT_DETAILS ("IIR", +static GstElementDetails gst_iir_details = +GST_ELEMENT_DETAILS ("Infinite Impulse Response(IIR) filter", "Filter/Effect/Audio", "IIR filter based on vorbis code", "Monty <monty@xiph.org>, " "Thomas <thomas@apestaart.org>"); diff --git a/gst/filter/gstlpwsinc.c b/gst/filter/gstlpwsinc.c index bf2773e6f..a69c20f71 100644 --- a/gst/filter/gstlpwsinc.c +++ b/gst/filter/gstlpwsinc.c @@ -38,7 +38,8 @@ #include <math.h> /* M_PI */ #include <string.h> /* memmove */ -static GstElementDetails gst_lpwsinc_details = GST_ELEMENT_DETAILS ("LPWSinc", +static GstElementDetails gst_lpwsinc_details = +GST_ELEMENT_DETAILS ("Low-pass Windowed sinc filter", "Filter/Effect/Audio", "Low-pass Windowed sinc filter", "Thomas <thomas@apestaart.org>, " "Steven W. Smith"); diff --git a/gst/freeze/gstfreeze.c b/gst/freeze/gstfreeze.c index 25e4f09a4..c315dc0fc 100644 --- a/gst/freeze/gstfreeze.c +++ b/gst/freeze/gstfreeze.c @@ -33,12 +33,11 @@ enum }; -static GstElementDetails freeze_details = { "Stream freezer", - "Generic", - "Makes a stream from buffers of data", - "Gergely Nagy <gergely.nagy@neteyes.hu>," - " Renato Filho <renato.filho@indt.org.br>" -}; +static GstElementDetails freeze_details = GST_ELEMENT_DETAILS ("Stream freezer", + "Generic", + "Makes a stream from buffers of data", + "Gergely Nagy <gergely.nagy@neteyes.hu>," + " Renato Filho <renato.filho@indt.org.br>"); static GstStaticPadTemplate gst_freeze_src_template = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/gst/games/gstpuzzle.c b/gst/games/gstpuzzle.c index e28025c65..ee5eca4cb 100644 --- a/gst/games/gstpuzzle.c +++ b/gst/games/gstpuzzle.c @@ -121,7 +121,7 @@ static void gst_puzzle_base_init (gpointer g_class) { static GstElementDetails puzzle_details = - GST_ELEMENT_DETAILS ("a simple puzzle", + GST_ELEMENT_DETAILS ("A simple puzzle", "Filter/Effect/Video/Games", "A simple puzzle, use arrow keys and space to restart/solve", "Benjamin Otte <otte@gnome.org>"); diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index e67076b1b..056d7b8e3 100644 --- a/gst/mixmatrix/mixmatrix.c +++ b/gst/mixmatrix/mixmatrix.c @@ -68,12 +68,11 @@ struct _GstMixMatrixClass }; /* elementfactory information */ -static GstElementDetails mixmatrix_details = { - "Mixing Matrix", - "Filter/Editor/Audio", - "Mix N audio channels together into M channels", - "Erik Walthinsen <omega@temple-baptist.com>" -}; +static GstElementDetails mixmatrix_details = +GST_ELEMENT_DETAILS ("Mixing Matrix", + "Filter/Editor/Audio", + "Mix N audio channels together into M channels", + "Erik Walthinsen <omega@temple-baptist.com>"); enum { diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c index 9aaa12f76..d8a20d274 100644 --- a/gst/mpeg1sys/gstmpeg1systemencode.c +++ b/gst/mpeg1sys/gstmpeg1systemencode.c @@ -31,12 +31,11 @@ /*#define GST_DEBUG (b...) g_print (##b) */ /* elementfactory information */ -static GstElementDetails system_encode_details = { - "MPEG1 Multiplexer", - "Codec/Muxer", - "Multiplexes MPEG-1 Streams", - "Wim Taymans <wim.taymans@chello.be>" -}; +static GstElementDetails system_encode_details = +GST_ELEMENT_DETAILS ("MPEG-1 muxer", + "Codec/Muxer", + "Multiplexes MPEG-1 Streams", + "Wim Taymans <wim.taymans@chello.be>"); /* GstMPEG1SystemEncode signals and args */ enum diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c index 6de0add42..e83cff674 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.c +++ b/gst/mpeg1videoparse/gstmp1videoparse.c @@ -37,7 +37,7 @@ /* elementfactory information */ static GstElementDetails mpeg1videoparse_details = -GST_ELEMENT_DETAILS ("MPEG 1 Video Parser", +GST_ELEMENT_DETAILS ("MPEG-1 video parser", "Codec/Parser/Video", "Parses and frames MPEG 1 video streams, provides seek", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/gst/mpeg2sub/gstmpeg2subt.c b/gst/mpeg2sub/gstmpeg2subt.c index 3e56106b0..c8dc918f7 100644 --- a/gst/mpeg2sub/gstmpeg2subt.c +++ b/gst/mpeg2sub/gstmpeg2subt.c @@ -53,13 +53,12 @@ static void gst_setup_palette (GstMpeg2Subt * mpeg2subt, guchar * indexes, static void gst_update_still_frame (GstMpeg2Subt * mpeg2subt); /* elementfactory information */ -static GstElementDetails mpeg2subt_details = { - "MPEG2 subtitle Decoder", - "Codec/Decoder/Video", - "Decodes and merges MPEG2 subtitles into a video frame", - "Wim Taymans <wim.taymans@chello.be>\n" - "Jan Schmidt <thaytan@mad.scientist.com>" -}; +static GstElementDetails mpeg2subt_details = +GST_ELEMENT_DETAILS ("MPEG-2 subtitle decoder", + "Codec/Decoder/Video", + "Decodes and merges MPEG2 subtitles into a video frame", + "Wim Taymans <wim.taymans@chello.be>\n" + "Jan Schmidt <thaytan@mad.scientist.com>"); static GstStaticPadTemplate video_template = GST_STATIC_PAD_TEMPLATE ("video", GST_PAD_SINK, diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c index 29f26c118..9247be4b1 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.c +++ b/gst/mpegaudioparse/gstmpegaudioparse.c @@ -25,12 +25,11 @@ /* elementfactory information */ -static GstElementDetails mp3parse_details = { - "MPEG1 Audio Parser", - "Codec/Parser/Audio", - "Parses and frames mpeg1 audio streams (levels 1-3), provides seek", - "Erik Walthinsen <omega@cse.ogi.edu>" -}; +static GstElementDetails mp3parse_details = +GST_ELEMENT_DETAILS ("MPEG-1 audio parser", + "Codec/Parser/Audio", + "Parses and frames mpeg1 audio streams (levels 1-3), provides seek", + "Erik Walthinsen <omega@cse.ogi.edu>"); static GstStaticPadTemplate mp3_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, diff --git a/gst/multifilesink/gstmultifilesink.c b/gst/multifilesink/gstmultifilesink.c index f40b24645..99e38e5fc 100644 --- a/gst/multifilesink/gstmultifilesink.c +++ b/gst/multifilesink/gstmultifilesink.c @@ -42,7 +42,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_multifilesink_debug); #define GST_CAT_DEFAULT gst_multifilesink_debug GstElementDetails gst_multifilesink_details = -GST_ELEMENT_DETAILS ("Multiple File Sink", +GST_ELEMENT_DETAILS ("Multiple file sink", "Sink/File", "Write stream to multiple files sequentially", "Zaheer Abbas Merali <zaheerabbas at merali dot org>"); diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c index b5311bfbc..8710e9354 100644 --- a/gst/overlay/gstoverlay.c +++ b/gst/overlay/gstoverlay.c @@ -25,12 +25,10 @@ #include <gst/video/video.h> /* elementfactory information */ -static GstElementDetails overlay_details = { - "Video Overlay", - "Filter/Editor/Video", - "Overlay multiple video streams", - "David Schleef <ds@schleef.org>" -}; +static GstElementDetails overlay_details = GST_ELEMENT_DETAILS ("Video overlay", + "Filter/Editor/Video", + "Overlay multiple video streams", + "David Schleef <ds@schleef.org>"); static GstStaticPadTemplate overlay_src_factory = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/gst/passthrough/gstpassthrough.c b/gst/passthrough/gstpassthrough.c index d59a10990..65bde078d 100644 --- a/gst/passthrough/gstpassthrough.c +++ b/gst/passthrough/gstpassthrough.c @@ -30,12 +30,11 @@ #define PASSTHRU_NUM_BUFS 4 /* elementfactory information */ -static GstElementDetails passthrough_details = { - "Passthrough", - "Filter/Effect/Audio", - "Transparent filter for audio/raw (boilerplate for effects)", - "Thomas <thomas@apestaart.org>, " "Andy Wingo <apwingo@eos.ncsu.edu>" -}; +static GstElementDetails passthrough_details = +GST_ELEMENT_DETAILS ("Passthrough", + "Filter/Effect/Audio", + "Transparent filter for audio/raw (boilerplate for effects)", + "Thomas <thomas@apestaart.org>, " "Andy Wingo <apwingo@eos.ncsu.edu>"); enum { diff --git a/gst/playondemand/gstplayondemand.c b/gst/playondemand/gstplayondemand.c index e8d1365e0..66ec8ca3c 100644 --- a/gst/playondemand/gstplayondemand.c +++ b/gst/playondemand/gstplayondemand.c @@ -41,12 +41,11 @@ #define GST_POD_BUFPOOL_NUM 6 -static GstElementDetails play_on_demand_details = { - "Play On Demand", - "Filter/Editor/Audio", - "Schedule a stream to play at specific times, or when a signal is received", - "Leif Morgan Johnson <leif@ambient.2y.net>", -}; +static GstElementDetails play_on_demand_details = +GST_ELEMENT_DETAILS ("Play On Demand", + "Filter/Editor/Audio", + "Schedule a stream to play at specific times, or when a signal is received", + "Leif Morgan Johnson <leif@ambient.2y.net>"); static GstStaticPadTemplate play_on_demand_sink_template = diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 4637cd232..31b4f24bc 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -118,12 +118,11 @@ enum QtDemuxState static GNode *qtdemux_tree_get_child_by_type (GNode * node, guint32 fourcc); static GNode *qtdemux_tree_get_sibling_by_type (GNode * node, guint32 fourcc); -static GstElementDetails gst_qtdemux_details = { - "QuickTime Demuxer", - "Codec/Demuxer", - "Demultiplex a QuickTime file into audio and video streams", - "David Schleef <ds@schleef.org>" -}; +static GstElementDetails gst_qtdemux_details = +GST_ELEMENT_DETAILS ("QuickTime demuxer", + "Codec/Demuxer", + "Demultiplex a QuickTime file into audio and video streams", + "David Schleef <ds@schleef.org>"); static GstStaticPadTemplate gst_qtdemux_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtjpeg/gstrtjpegdec.c b/gst/rtjpeg/gstrtjpegdec.c index 54a279857..feead867a 100644 --- a/gst/rtjpeg/gstrtjpegdec.c +++ b/gst/rtjpeg/gstrtjpegdec.c @@ -26,12 +26,11 @@ /* elementfactory information */ -GstElementDetails gst_rtjpegdec_details = { - "RTjpeg decoder", - "Codec/Decoder/Video", - "Decodes video in RTjpeg format", - "Erik Walthinsen <omega@cse.ogi.edu>" -}; +GstElementDetails gst_rtjpegdec_details = +GST_ELEMENT_DETAILS ("RTjpeg video decoder", + "Codec/Decoder/Video", + "Decodes video in RTjpeg format", + "Erik Walthinsen <omega@cse.ogi.edu>"); /* GstRTJpegDec signals and args */ enum diff --git a/gst/rtjpeg/gstrtjpegenc.c b/gst/rtjpeg/gstrtjpegenc.c index 277074cc9..b39d46639 100644 --- a/gst/rtjpeg/gstrtjpegenc.c +++ b/gst/rtjpeg/gstrtjpegenc.c @@ -24,12 +24,11 @@ #include "gstrtjpegenc.h" /* elementfactory information */ -GstElementDetails gst_rtjpegenc_details = { - "RTjpeg encoder", - "Codec/Encoder/Video", - "Encodes video in RTjpeg format", - "Erik Walthinsen <omega@cse.ogi.edu>" -}; +GstElementDetails gst_rtjpegenc_details = +GST_ELEMENT_DETAILS ("RTjpeg video encoder", + "Codec/Encoder/Video", + "Encodes video in RTjpeg format", + "Erik Walthinsen <omega@cse.ogi.edu>"); /* GstRTJpegEnc signals and args */ enum diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c index 88f74bbcd..2dd0a6c37 100644 --- a/gst/smooth/gstsmooth.c +++ b/gst/smooth/gstsmooth.c @@ -25,12 +25,10 @@ #include <gst/video/video.h> /* elementfactory information */ -static GstElementDetails smooth_details = { - "Smooth effect", - "Filter/Effect/Video", - "Apply a smooth filter to an image", - "Wim Taymans <wim.taymans@chello.be>" -}; +static GstElementDetails smooth_details = GST_ELEMENT_DETAILS ("Smooth effect", + "Filter/Effect/Video", + "Apply a smooth filter to an image", + "Wim Taymans <wim.taymans@chello.be>"); /* Smooth signals and args */ diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c index 9f36ffcf4..a74041ec9 100644 --- a/gst/tta/gstttadec.c +++ b/gst/tta/gstttadec.c @@ -171,12 +171,11 @@ gst_tta_dec_get_type (void) static void gst_tta_dec_base_init (GstTtaDecClass * klass) { - static GstElementDetails plugin_details = { - "TTA decoder", - "Codec/Decoder/Audio", - "Decode TTA audio data", - "Arwed v. Merkatz <v.merkatz@gmx.net>" - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("TTA audio decoder", + "Codec/Decoder/Audio", + "Decode TTA audio data", + "Arwed v. Merkatz <v.merkatz@gmx.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c index 03fa25a2c..8bdaf8bae 100644 --- a/gst/tta/gstttaparse.c +++ b/gst/tta/gstttaparse.c @@ -85,12 +85,11 @@ gst_tta_parse_get_type (void) static void gst_tta_parse_base_init (GstTtaParseClass * klass) { - static GstElementDetails plugin_details = { - "TTA file parser", - "Codec/Demuxer/Audio", - "Parses TTA files", - "Arwed v. Merkatz <v.merkatz@gmx.net>" - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("TTA file parser", + "Codec/Demuxer/Audio", + "Parses TTA files", + "Arwed v. Merkatz <v.merkatz@gmx.net>"); GstElementClass *element_class = GST_ELEMENT_CLASS (klass); gst_element_class_add_pad_template (element_class, diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c index b12b292bb..fb2d400c1 100644 --- a/gst/videocrop/gstvideocrop.c +++ b/gst/videocrop/gstvideocrop.c @@ -59,8 +59,7 @@ struct _GstVideoCropClass }; /* elementfactory information */ -static GstElementDetails gst_video_crop_details = -GST_ELEMENT_DETAILS ("video crop filter", +static GstElementDetails gst_video_crop_details = GST_ELEMENT_DETAILS ("Crop", "Filter/Effect/Video", "Crops video into a user defined region", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/gst/videodrop/gstvideodrop.c b/gst/videodrop/gstvideodrop.c index 27c9f2889..d5bc630c5 100644 --- a/gst/videodrop/gstvideodrop.c +++ b/gst/videodrop/gstvideodrop.c @@ -26,9 +26,9 @@ /* elementfactory information */ static GstElementDetails videodrop_details = -GST_ELEMENT_DETAILS ("Video frame dropper", +GST_ELEMENT_DETAILS ("Frame dropper", "Filter/Effect/Video", - "Re-FPS'es video", + "Re-FPS'es video by dropping frames", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); /* GstVideodrop signals and args */ diff --git a/gst/virtualdub/gstxsharpen.c b/gst/virtualdub/gstxsharpen.c index 426d8fea8..cd99fb8e2 100644 --- a/gst/virtualdub/gstxsharpen.c +++ b/gst/virtualdub/gstxsharpen.c @@ -53,14 +53,12 @@ struct _GstXsharpenClass GstElementClass parent_class; }; -GstElementDetails gst_xsharpen_details = { - "", - "Filter/Video/Effect", - "LGPL", - "Apply a sharpen effect on video" VERSION, - "Jeremy SIMON <jsimon13@yahoo.fr>", - "(C) 2000 Donald Graft", -}; +GstElementDetails gst_xsharpen_details = GST_ELEMENT_DETAILS ("Sharpen", + "Filter/Video/Effect", + "LGPL", + "Apply a sharpen effect on video" VERSION, + "Jeremy SIMON <jsimon13@yahoo.fr>", + "(C) 2000 Donald Graft"); /* Filter signals and args */ diff --git a/gst/xingheader/gstxingmux.c b/gst/xingheader/gstxingmux.c index 206b474bd..9bfc7d198 100644 --- a/gst/xingheader/gstxingmux.c +++ b/gst/xingheader/gstxingmux.c @@ -84,12 +84,11 @@ gst_xing_mux_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - static GstElementDetails gst_xing_mux_details = { - "MP3 Xing Muxer", - "Formatter/Metadata", - "Adds a Xing header to the beginning of a VBR MP3 file", - "Christophe Fergeau <teuf@gnome.org>" - }; + static 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, diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c index 8e966af76..a745ceaaa 100644 --- a/gst/y4m/gsty4mencode.c +++ b/gst/y4m/gsty4mencode.c @@ -26,7 +26,8 @@ #include <gst/video/video.h> #include "gsty4mencode.h" -static GstElementDetails y4mencode_details = GST_ELEMENT_DETAILS ("Y4mEncode", +static GstElementDetails y4mencode_details = +GST_ELEMENT_DETAILS ("YUV4MPEG video encoder", "Codec/Encoder/Video", "Encodes a YUV frame into the yuv4mpeg format (mjpegtools)", "Wim Taymans <wim.taymans@chello.be>"); |