From dacf8eaa18c2a140b0abb4c9ae0477621d50cf88 Mon Sep 17 00:00:00 2001 From: j^ Date: Thu, 6 Apr 2006 11:35:26 +0000 Subject: Unify the long descriptions in the plugin details (#337263). Original commit message from CVS: Patch by: j^ * 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). --- ChangeLog | 73 ++++++++++++++++++++++++++++++++++ ext/amrwb/gstamrwbdec.c | 11 +++-- ext/amrwb/gstamrwbenc.c | 11 +++-- ext/amrwb/gstamrwbparse.c | 11 +++-- ext/arts/gst_arts.c | 12 +++--- ext/artsd/gstartsdsink.c | 11 +++-- ext/audiofile/gstafparse.c | 11 +++-- ext/audiofile/gstafsink.c | 10 ++--- ext/audiofile/gstafsrc.c | 11 +++-- ext/cdaudio/gstcdaudio.c | 10 ++--- ext/directfb/dfbvideosink.c | 2 +- ext/divx/gstdivxdec.c | 11 +++-- ext/divx/gstdivxenc.c | 11 +++-- ext/dts/gstdtsdec.c | 11 +++-- ext/faac/gstfaac.c | 10 ++--- ext/faad/gstfaad.c | 11 +++-- ext/gsm/gstgsmdec.c | 10 ++--- ext/gsm/gstgsmenc.c | 10 ++--- ext/hermes/gsthermescolorspace.c | 11 +++-- ext/ivorbis/vorbisfile.c | 15 ++++--- ext/lcs/gstcolorspace.c | 11 +++-- ext/libfame/gstlibfame.c | 11 +++-- ext/libmms/gstmms.c | 11 +++-- ext/musicbrainz/gsttrm.c | 11 +++-- ext/nas/nassink.c | 13 +++--- ext/neon/gstneonhttpsrc.c | 4 +- ext/polyp/polypsink.c | 11 +++-- ext/sdl/sdlaudiosink.c | 2 +- ext/sdl/sdlvideosink.c | 15 ++++--- ext/shout/gstshout.c | 11 +++-- ext/snapshot/gstsnapshot.c | 10 ++--- ext/sndfile/gstsf.c | 22 +++++----- ext/tarkin/gsttarkindec.c | 11 +++-- ext/tarkin/gsttarkinenc.c | 11 +++-- ext/theora/theoradec.c | 4 +- ext/wavpack/gstwavpackdec.c | 11 +++-- ext/wavpack/gstwavpackparse.c | 14 +++---- ext/xvid/gstxviddec.c | 11 +++-- ext/xvid/gstxvidenc.c | 11 +++-- gst/cdxaparse/gstcdxaparse.c | 4 +- gst/cdxaparse/gstcdxastrip.c | 2 +- gst/cdxaparse/gstvcdparse.c | 2 +- gst/chart/gstchart.c | 11 +++-- gst/equalizer/gstiirequalizer.c | 11 +++-- gst/festival/gstfestival.c | 2 +- gst/filter/gstiir.c | 3 +- gst/filter/gstlpwsinc.c | 3 +- gst/freeze/gstfreeze.c | 11 +++-- gst/games/gstpuzzle.c | 2 +- gst/mixmatrix/mixmatrix.c | 11 +++-- gst/mpeg1sys/gstmpeg1systemencode.c | 11 +++-- gst/mpeg1videoparse/gstmp1videoparse.c | 2 +- gst/mpeg2sub/gstmpeg2subt.c | 13 +++--- gst/mpegaudioparse/gstmpegaudioparse.c | 11 +++-- gst/multifilesink/gstmultifilesink.c | 2 +- gst/overlay/gstoverlay.c | 10 ++--- gst/passthrough/gstpassthrough.c | 11 +++-- gst/playondemand/gstplayondemand.c | 11 +++-- gst/qtdemux/qtdemux.c | 11 +++-- gst/rtjpeg/gstrtjpegdec.c | 11 +++-- gst/rtjpeg/gstrtjpegenc.c | 11 +++-- gst/smooth/gstsmooth.c | 10 ++--- gst/tta/gstttadec.c | 11 +++-- gst/tta/gstttaparse.c | 11 +++-- gst/videocrop/gstvideocrop.c | 3 +- gst/videodrop/gstvideodrop.c | 4 +- gst/virtualdub/gstxsharpen.c | 14 +++---- gst/xingheader/gstxingmux.c | 11 +++-- gst/y4m/gsty4mencode.c | 3 +- 69 files changed, 361 insertions(+), 350 deletions(-) diff --git a/ChangeLog b/ChangeLog index f7c40e34..e8682a4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,76 @@ +2006-04-06 Tim-Philipp Müller + + Patch by: j^ + + * 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 * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), diff --git a/ext/amrwb/gstamrwbdec.c b/ext/amrwb/gstamrwbdec.c index 0feed2bd..cba2041d 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 " -}; +static GstElementDetails gst_amrwbdec_details = +GST_ELEMENT_DETAILS ("AMR-WB audio decoder", + "Codec/Decoder/Audio", + "Adaptive Multi-Rate Wideband audio decoder", + "Renato Araujo "); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/amrwb/gstamrwbenc.c b/ext/amrwb/gstamrwbenc.c index ad2ccecc..3ce373e6 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 " -}; +static GstElementDetails gst_amrwbenc_details = +GST_ELEMENT_DETAILS ("AMR-WB audio encoder", + "Codec/Encoder/Audio", + "Adaptive Multi-Rate Wideband audio encoder", + "Renato Araujo "); static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/amrwb/gstamrwbparse.c b/ext/amrwb/gstamrwbparse.c index 9cd03371..69b6d207 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 " -}; +static GstElementDetails gst_amrwbparse_details = +GST_ELEMENT_DETAILS ("AMR-WB parser", + "Codec/Parser/Audio", + "Adaptive Multi-Rate WideBand audio parser", + "Renato Filho "); static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/ext/arts/gst_arts.c b/ext/arts/gst_arts.c index 1345c92e..a74952ca 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 ", -}; +static GstElementDetails gst_arts_details = GST_ELEMENT_DETAILS ("aRts plugin", + "Filter/Audio", + "aRts wrapper filter", + "Erik Walthinsen "); static GstStaticPadTemplate sink_temp = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c index 6caf42ec..cfc8a382 100644 --- a/ext/artsd/gstartsdsink.c +++ b/ext/artsd/gstartsdsink.c @@ -27,12 +27,11 @@ #include /* elementfactory information */ -static GstElementDetails artsdsink_details = { - "aRtsd audio sink", - "Sink/Audio", - "Plays audio to an aRts server", - "Richard Boulton ", -}; +static GstElementDetails artsdsink_details = +GST_ELEMENT_DETAILS ("aRtsd audio sink", + "Sink/Audio", + "Plays audio to an aRts server", + "Richard Boulton ",); /* Signals and args */ enum diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c index 35b5b497..fed9fa80 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 ", -}; +static GstElementDetails afparse_details = +GST_ELEMENT_DETAILS ("Audiofile demuxer", + "Codec/Demuxer/Audio", + "Audiofile parser for audio/raw", + "Steve Baker "); /* AFParse signals and args */ diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c index ace3c388..97105fa5 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 ", -}; +static GstElementDetails afsink_details = GST_ELEMENT_DETAILS ("Audiofile sink", + "Sink/Audio", + "Write audio streams to disk using libaudiofile", + "Thomas Vander Stichele "); /* AFSink signals and args */ diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c index e864cf8f..12e6b29d 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 ", -}; +static GstElementDetails afsrc_details = +GST_ELEMENT_DETAILS ("Audiofile source", + "Source/Audio", + "Read audio files from disk using libaudiofile", + "Thomas "); /* AFSrc signals and args */ diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c index c1ddbd58..3a87414a 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 ", -}; +static GstElementDetails gst_cdaudio_details = GST_ELEMENT_DETAILS ("CD player", + "Generic/Bin", + "Play CD audio through the CD Drive", + "Wim Taymans "); static void diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index 99e56bdf..3dc6c6eb 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 "); diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c index 29b838e2..1c97cca4 100644 --- a/ext/divx/gstdivxdec.c +++ b/ext/divx/gstdivxdec.c @@ -26,12 +26,11 @@ #include /* elementfactory information */ -GstElementDetails gst_divxdec_details = { - "Divx4linux decoder", - "Codec/Decoder/Video", - "Divx decoder based on divxdecore", - "Ronald Bultje " -}; +GstElementDetails gst_divxdec_details = +GST_ELEMENT_DETAILS ("Divx4linux video decoder", + "Codec/Decoder/Video", + "Divx decoder based on divxdecore", + "Ronald Bultje "); 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 5269e01e..edb5172b 100644 --- a/ext/divx/gstdivxenc.c +++ b/ext/divx/gstdivxenc.c @@ -27,12 +27,11 @@ #include /* elementfactory information */ -GstElementDetails gst_divxenc_details = { - "Divx4linux encoder", - "Codec/Encoder/Video", - "Divx encoder based on divxencore", - "Ronald Bultje " -}; +GstElementDetails gst_divxenc_details = +GST_ELEMENT_DETAILS ("Divx4linux video encoder", + "Codec/Encoder/Video", + "Divx encoder based on divxencore", + "Ronald Bultje "); 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 e759c6db..c26b5055 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 " - }; + static GstElementDetails gst_dtsdec_details = + GST_ELEMENT_DETAILS ("DTS audio decoder", + "Codec/Decoder/Audio", + "Decodes DTS audio streams", + "Ronald Bultje "); 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 038b3c15..a6ca44ac 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 ", - }; + GstElementDetails gst_faac_details = GST_ELEMENT_DETAILS ("AAC audio encoder", + "Codec/Encoder/Audio", + "Free MPEG-2/4 AAC encoder", + "Ronald Bultje "); 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 22834e54..8adf538e 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 " -}; +static GstElementDetails faad_details = +GST_ELEMENT_DETAILS ("AAC audio decoder", + "Codec/Decoder/Audio", + "Free MPEG-2/4 AAC decoder", + "Ronald Bultje "); 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 a3ec28ed..1b9eadf4 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 ", -}; +GstElementDetails gst_gsmdec_details = GST_ELEMENT_DETAILS ("GSM audio decoder", + "Codec/Decoder/Audio", + "Decodes GSM encoded audio", + "Philippe Khalaf "); /* GSMDec signals and args */ enum diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c index 4c69d1e6..c4707ecf 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 ", -}; +GstElementDetails gst_gsmenc_details = GST_ELEMENT_DETAILS ("GSM audio encoder", + "Codec/Encoder/Audio", + "Encodes GSM audio", + "Philippe Khalaf "); /* GSMEnc signals and args */ enum diff --git a/ext/hermes/gsthermescolorspace.c b/ext/hermes/gsthermescolorspace.c index 384983e0..5eb1affc 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 ", -}; +static GstElementDetails colorspace_details = +GST_ELEMENT_DETAILS ("Colorspace converter", + "Filter/Converter/Video", + "Converts video from one colorspace to another using libhermes", + "Wim Taymans "); /* Stereo signals and args */ diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c index 0268b8c3..3b7caae2 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 \n" - "Wim Taymans \n" - "Amaury Jacquot ", -}; +GstElementDetails ivorbisfile_details = +GST_ELEMENT_DETAILS ("Ogg Vorbis audio decoder", + "Codec/Decoder/Audio", + "Decodes OGG Vorbis audio using the Tremor vorbisfile API", + "Monty \n" + "Wim Taymans \n" + "Amaury Jacquot "); /* Ivorbisfile signals and args */ enum diff --git a/ext/lcs/gstcolorspace.c b/ext/lcs/gstcolorspace.c index 4ff983cc..a2a67f8b 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 " -}; +static GstElementDetails colorspace_details = +GST_ELEMENT_DETAILS ("Colorspace converter", + "Filter/Effect", + "Converts video from one colorspace to another", + "Wim Taymans "); /* Stereo signals and args */ diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c index f33dfd19..011c249c 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 " -}; +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 "); static GQuark fame_object_name; diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index afb1c82c..462431fe 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 " - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("MMS streaming source", + "Source/Network", + "Receive data streamed via MSFT Multi Media Server protocol", + "Maciej Katafiasz "); 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 e47ef6ee..f4b791e0 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 ", - }; + GstElementDetails gst_musicbrainz_details = + GST_ELEMENT_DETAILS ("Musicbrainz TRM generator", + "Filter/Analyzer/Audio", + "Compute TRM Id from muscibrainz", + "Jeremy Simon "); 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 7dfd2b56..5030f638 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 , " - "Arwed v. Merkatz " - }; + static GstElementDetails nassink_details = + GST_ELEMENT_DETAILS ("NAS audio sink", + "Sink/Audio", + "Plays audio to a Network Audio Server", + "Laurent Vivier , " + "Arwed v. Merkatz "); 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 9b05d299..7cc11383 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 "); static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/ext/polyp/polypsink.c b/ext/polyp/polypsink.c index a18569b4..13ad6654 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 8526996b..8858e482 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 "); diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index cacf8ac7..6834edf6 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 " - "Edgard Lima " - "Jan Schmidt " -}; +static GstElementDetails gst_sdlvideosink_details = +GST_ELEMENT_DETAILS ("SDL video sink", + "Sink/Video", + "An SDL-based videosink", + "Ronald Bultje " + "Edgard Lima " + "Jan Schmidt "); enum diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c index 48e0e100..c98b4fc4 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 " -}; +static GstElementDetails icecastsend_details = +GST_ELEMENT_DETAILS ("Icecast network sink", + "Sink/Network", + "Sends data to an icecast server using libshout", + "Wim Taymans "); static char *SHOUT_ERRORS[] = { "ok", diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c index 60ca50d3..4b89f6c1 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 ", -}; +static GstElementDetails snapshot_details = GST_ELEMENT_DETAILS ("Snapshot", + "Filter/Editor/Video", + "Dump a frame to a png file", + "Jeremy SIMON "); static GstStaticPadTemplate snapshot_src_factory = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c index 19e99e6a..de7a28c4 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 ", -}; - -static GstElementDetails sfsink_details = { - "Sndfile Sink", - "Sink/Audio", - "Write audio streams to disk using libsndfile", - "Andy Wingo ", -}; +static GstElementDetails sfsrc_details = GST_ELEMENT_DETAILS ("Sndfile source", + "Source/Audio", + "Read audio streams from disk using libsndfile", + "Andy Wingo "); + +static GstElementDetails sfsink_details = GST_ELEMENT_DETAILS ("Sndfile sink", + "Sink/Audio", + "Write audio streams to disk using libsndfile", + "Andy Wingo "); enum { diff --git a/ext/tarkin/gsttarkindec.c b/ext/tarkin/gsttarkindec.c index a7066f3e..88713ae7 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 , " "Wim Taymans ", -}; +GstElementDetails tarkindec_details = +GST_ELEMENT_DETAILS ("Tarkin video decoder", + "Codec/Decoder/Video", + "Decodes video in OGG Tarkin format", + "Monty , " "Wim Taymans "); /* TarkinDec signals and args */ enum diff --git a/ext/tarkin/gsttarkinenc.c b/ext/tarkin/gsttarkinenc.c index 9727aa33..2b77ec20 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 , " "Wim Taymans ", -}; +GstElementDetails tarkinenc_details = +GST_ELEMENT_DETAILS ("Tarkin video encoder", + "Codec/Encoder/Video", + "Encodes video in OGG Tarkin format", + "Monty , " "Wim Taymans "); /* TarkinEnc signals and args */ enum diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index ba7b0c56..7dc6fe87 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 , " "Wim Taymans , " "Michael Smith "); diff --git a/ext/wavpack/gstwavpackdec.c b/ext/wavpack/gstwavpackdec.c index a7df49c6..50dcc792 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 " - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("WavePack audio decoder", + "Codec/Decoder/Audio", + "Decode Wavpack audio data", + "Arwed v. Merkatz "); 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 f00e337e..59ef81fa 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 " - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("WavePack parser", + "Codec/Demuxer/Audio", + "Parses Wavpack files", + "Arwed v. Merkatz "); 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 94da4e9b..a7697a19 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 ", -}; +GstElementDetails gst_xviddec_details = +GST_ELEMENT_DETAILS ("XviD video decoder", + "Codec/Decoder/Video", + "XviD decoder based on xvidcore", + "Ronald Bultje "); 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 d358f7a9..6eaf329c 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 ", -}; +GstElementDetails gst_xvidenc_details = +GST_ELEMENT_DETAILS ("XviD video encoder", + "Codec/Encoder/Video", + "XviD encoder based on xvidcore", + "Ronald Bultje "); 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 f90762ed..e8a072f6 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 "); gst_element_class_set_details (element_class, &gst_cdxa_parse_details); diff --git a/gst/cdxaparse/gstcdxastrip.c b/gst/cdxaparse/gstcdxastrip.c index 66bd9a2c..895acf4c 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 "); diff --git a/gst/cdxaparse/gstvcdparse.c b/gst/cdxaparse/gstvcdparse.c index 66bd9a2c..895acf4c 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 "); diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c index d2b4c047..af6fd9c6 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 ", -}; +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 "); /* signals and args */ enum diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c index 0075ff19..c7d67d30 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 " - }; + static GstElementDetails iir_equalizer_details = + GST_ELEMENT_DETAILS ("Equalizer", + "Filter/Effect/Audio", + "Direct Form IIR equalizer", + "Benjamin Otte "); 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 21f491e5..14014968 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 "); diff --git a/gst/filter/gstiir.c b/gst/filter/gstiir.c index 818d495b..1aee2d5f 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 , " "Thomas "); diff --git a/gst/filter/gstlpwsinc.c b/gst/filter/gstlpwsinc.c index bf2773e6..a69c20f7 100644 --- a/gst/filter/gstlpwsinc.c +++ b/gst/filter/gstlpwsinc.c @@ -38,7 +38,8 @@ #include /* M_PI */ #include /* 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 , " "Steven W. Smith"); diff --git a/gst/freeze/gstfreeze.c b/gst/freeze/gstfreeze.c index 25e4f09a..c315dc0f 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 ," - " Renato Filho " -}; +static GstElementDetails freeze_details = GST_ELEMENT_DETAILS ("Stream freezer", + "Generic", + "Makes a stream from buffers of data", + "Gergely Nagy ," + " Renato Filho "); static GstStaticPadTemplate gst_freeze_src_template = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/gst/games/gstpuzzle.c b/gst/games/gstpuzzle.c index e28025c6..ee5eca4c 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 "); diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index e67076b1..056d7b8e 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 " -}; +static GstElementDetails mixmatrix_details = +GST_ELEMENT_DETAILS ("Mixing Matrix", + "Filter/Editor/Audio", + "Mix N audio channels together into M channels", + "Erik Walthinsen "); enum { diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c index 9aaa12f7..d8a20d27 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 " -}; +static GstElementDetails system_encode_details = +GST_ELEMENT_DETAILS ("MPEG-1 muxer", + "Codec/Muxer", + "Multiplexes MPEG-1 Streams", + "Wim Taymans "); /* GstMPEG1SystemEncode signals and args */ enum diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c index 6de0add4..e83cff67 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 "); diff --git a/gst/mpeg2sub/gstmpeg2subt.c b/gst/mpeg2sub/gstmpeg2subt.c index 3e56106b..c8dc918f 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 \n" - "Jan Schmidt " -}; +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 \n" + "Jan Schmidt "); 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 29f26c11..9247be4b 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 " -}; +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 "); 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 f40b2464..99e38e5f 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 "); diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c index b5311bfb..8710e935 100644 --- a/gst/overlay/gstoverlay.c +++ b/gst/overlay/gstoverlay.c @@ -25,12 +25,10 @@ #include /* elementfactory information */ -static GstElementDetails overlay_details = { - "Video Overlay", - "Filter/Editor/Video", - "Overlay multiple video streams", - "David Schleef " -}; +static GstElementDetails overlay_details = GST_ELEMENT_DETAILS ("Video overlay", + "Filter/Editor/Video", + "Overlay multiple video streams", + "David Schleef "); static GstStaticPadTemplate overlay_src_factory = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/gst/passthrough/gstpassthrough.c b/gst/passthrough/gstpassthrough.c index d59a1099..65bde078 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 , " "Andy Wingo " -}; +static GstElementDetails passthrough_details = +GST_ELEMENT_DETAILS ("Passthrough", + "Filter/Effect/Audio", + "Transparent filter for audio/raw (boilerplate for effects)", + "Thomas , " "Andy Wingo "); enum { diff --git a/gst/playondemand/gstplayondemand.c b/gst/playondemand/gstplayondemand.c index e8d1365e..66ec8ca3 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 ", -}; +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 "); static GstStaticPadTemplate play_on_demand_sink_template = diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 4637cd23..31b4f24b 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 " -}; +static GstElementDetails gst_qtdemux_details = +GST_ELEMENT_DETAILS ("QuickTime demuxer", + "Codec/Demuxer", + "Demultiplex a QuickTime file into audio and video streams", + "David Schleef "); static GstStaticPadTemplate gst_qtdemux_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtjpeg/gstrtjpegdec.c b/gst/rtjpeg/gstrtjpegdec.c index 54a27985..feead867 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 " -}; +GstElementDetails gst_rtjpegdec_details = +GST_ELEMENT_DETAILS ("RTjpeg video decoder", + "Codec/Decoder/Video", + "Decodes video in RTjpeg format", + "Erik Walthinsen "); /* GstRTJpegDec signals and args */ enum diff --git a/gst/rtjpeg/gstrtjpegenc.c b/gst/rtjpeg/gstrtjpegenc.c index 277074cc..b39d4663 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 " -}; +GstElementDetails gst_rtjpegenc_details = +GST_ELEMENT_DETAILS ("RTjpeg video encoder", + "Codec/Encoder/Video", + "Encodes video in RTjpeg format", + "Erik Walthinsen "); /* GstRTJpegEnc signals and args */ enum diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c index 88f74bbc..2dd0a6c3 100644 --- a/gst/smooth/gstsmooth.c +++ b/gst/smooth/gstsmooth.c @@ -25,12 +25,10 @@ #include /* elementfactory information */ -static GstElementDetails smooth_details = { - "Smooth effect", - "Filter/Effect/Video", - "Apply a smooth filter to an image", - "Wim Taymans " -}; +static GstElementDetails smooth_details = GST_ELEMENT_DETAILS ("Smooth effect", + "Filter/Effect/Video", + "Apply a smooth filter to an image", + "Wim Taymans "); /* Smooth signals and args */ diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c index 9f36ffcf..a74041ec 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 " - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("TTA audio decoder", + "Codec/Decoder/Audio", + "Decode TTA audio data", + "Arwed v. Merkatz "); 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 03fa25a2..8bdaf8ba 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 " - }; + static GstElementDetails plugin_details = + GST_ELEMENT_DETAILS ("TTA file parser", + "Codec/Demuxer/Audio", + "Parses TTA files", + "Arwed v. Merkatz "); 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 b12b292b..fb2d400c 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 "); diff --git a/gst/videodrop/gstvideodrop.c b/gst/videodrop/gstvideodrop.c index 27c9f288..d5bc630c 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 "); /* GstVideodrop signals and args */ diff --git a/gst/virtualdub/gstxsharpen.c b/gst/virtualdub/gstxsharpen.c index 426d8fea..cd99fb8e 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 ", - "(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 ", + "(C) 2000 Donald Graft"); /* Filter signals and args */ diff --git a/gst/xingheader/gstxingmux.c b/gst/xingheader/gstxingmux.c index 206b474b..9bfc7d19 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 " - }; + 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 "); gst_element_class_add_pad_template (element_class, diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c index 8e966af7..a745ceaa 100644 --- a/gst/y4m/gsty4mencode.c +++ b/gst/y4m/gsty4mencode.c @@ -26,7 +26,8 @@ #include #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 "); -- cgit v1.2.1