better/unified long descriptions
authorWim Taymans <wim.taymans@gmail.com>
Thu, 30 Mar 2006 15:37:05 +0000 (15:37 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 30 Mar 2006 15:37:05 +0000 (15:37 +0000)
Original commit message from CVS:
* ext/aalib/gstaasink.c:
* ext/annodex/gstcmmldec.c:
* ext/annodex/gstcmmlenc.c:
* ext/cairo/gsttextoverlay.c:
* ext/cairo/gsttimeoverlay.c:
* ext/cdio/gstcdiocddasrc.c:
* ext/dv/gstdvdec.c:
* ext/esd/esdmon.c:
* ext/esd/esdsink.c:
* ext/flac/gstflacdec.c:
* ext/flac/gstflacenc.c:
* ext/flac/gstflactag.c:
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init):
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init):
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init):
* ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init):
* ext/gdk_pixbuf/gstgdkpixbuf.c:
* ext/gdk_pixbuf/pixbufscale.c:
* ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init):
* ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init):
* ext/jpeg/gstjpegdec.c:
* ext/jpeg/gstjpegenc.c:
* ext/jpeg/gstsmokedec.c:
* ext/jpeg/gstsmokeenc.c:
* ext/libcaca/gstcacasink.c:
* ext/libmng/gstmngdec.c:
* ext/libmng/gstmngenc.c:
* ext/libpng/gstpngdec.c:
* ext/libpng/gstpngenc.c:
* ext/mikmod/gstmikmod.c:
* ext/raw1394/gstdv1394src.c:
* ext/shout2/gstshout2.c:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* gst/alpha/gstalpha.c:
* gst/alpha/gstalphacolor.c:
* gst/auparse/gstauparse.c:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init):
* gst/avi/gstavimux.c: (gst_avimux_base_init):
* gst/cutter/gstcutter.c:
* gst/debug/breakmydata.c:
* gst/debug/efence.c:
* gst/debug/gstnavigationtest.c:
* gst/debug/negotiation.c:
* gst/debug/progressreport.c:
* gst/debug/testplugin.c:
* gst/effectv/gstaging.c:
* gst/effectv/gstdice.c:
* gst/effectv/gstedge.c:
* gst/effectv/gstquark.c:
* gst/effectv/gstrev.c:
* gst/effectv/gstvertigo.c:
* gst/effectv/gstwarp.c:
* gst/flx/gstflxdec.c:
* gst/goom/gstgoom.c:
* gst/interleave/deinterleave.c:
* gst/interleave/interleave.c:
* gst/law/alaw-decode.c: (gst_alawdec_base_init):
* gst/law/alaw-encode.c: (gst_alawenc_base_init):
* gst/law/mulaw-decode.c: (gst_mulawdec_base_init):
* gst/law/mulaw-encode.c: (gst_mulawenc_base_init):
* gst/level/gstlevel.c:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init):
* gst/median/gstmedian.c:
* gst/monoscope/gstmonoscope.c:
* gst/multipart/multipartdemux.c:
* gst/multipart/multipartmux.c:
* gst/oldcore/gstmd5sink.c:
* gst/oldcore/gstmultifilesrc.c:
* gst/oldcore/gstpipefilter.c:
* gst/oldcore/gstshaper.c:
* gst/oldcore/gststatistics.c:
* gst/rtp/gstasteriskh263.c:
* gst/rtp/gstrtpL16depay.c:
* gst/rtp/gstrtpL16pay.c:
* gst/rtp/gstrtpamrdepay.c:
* gst/rtp/gstrtpamrpay.c:
* gst/rtp/gstrtpdepay.c:
* gst/rtp/gstrtpgsmpay.c:
* gst/rtp/gstrtph263pay.c:
* gst/rtp/gstrtph263pdepay.c:
* gst/rtp/gstrtph263ppay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmp4vdepay.c:
* gst/rtp/gstrtpmp4vpay.c:
* gst/rtp/gstrtpmpadepay.c:
* gst/rtp/gstrtpmpapay.c:
* gst/rtp/gstrtppcmadepay.c:
* gst/rtp/gstrtppcmapay.c:
* gst/rtp/gstrtppcmudepay.c:
* gst/rtp/gstrtppcmupay.c:
* gst/rtp/gstrtpspeexdepay.c:
* gst/rtp/gstrtpspeexpay.c:
* gst/rtsp/gstrtpdec.c:
* gst/smpte/gstsmpte.c:
* gst/videobox/gstvideobox.c:
* gst/videofilter/gstgamma.c: (gst_gamma_base_init):
* gst/videofilter/gstvideobalance.c:
* gst/videofilter/gstvideoflip.c:
* gst/videofilter/gstvideotemplate.c:
(gst_videotemplate_base_init):
* gst/videomixer/videomixer.c:
* gst/wavenc/gstwavenc.c:
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init):
better/unified long descriptions
Fixed #336602
Some cleanups to auparse, don't send multiple newsegments.

100 files changed:
ChangeLog
ext/aalib/gstaasink.c
ext/annodex/gstcmmldec.c
ext/annodex/gstcmmlenc.c
ext/cairo/gsttextoverlay.c
ext/cairo/gsttimeoverlay.c
ext/cdio/gstcdiocddasrc.c
ext/dv/gstdvdec.c
ext/esd/esdmon.c
ext/esd/esdsink.c
ext/flac/gstflacdec.c
ext/flac/gstflacenc.c
ext/flac/gstflactag.c
ext/gconf/gstgconfaudiosink.c
ext/gconf/gstgconfaudiosrc.c
ext/gconf/gstgconfvideosink.c
ext/gconf/gstgconfvideosrc.c
ext/gdk_pixbuf/gstgdkpixbuf.c
ext/gdk_pixbuf/pixbufscale.c
ext/hal/gsthalaudiosink.c
ext/hal/gsthalaudiosrc.c
ext/jpeg/gstjpegdec.c
ext/jpeg/gstjpegenc.c
ext/jpeg/gstsmokedec.c
ext/jpeg/gstsmokeenc.c
ext/libcaca/gstcacasink.c
ext/libmng/gstmngdec.c
ext/libmng/gstmngenc.c
ext/libpng/gstpngdec.c
ext/libpng/gstpngenc.c
ext/mikmod/gstmikmod.c
ext/raw1394/gstdv1394src.c
ext/shout2/gstshout2.c
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c
gst/alpha/gstalpha.c
gst/alpha/gstalphacolor.c
gst/auparse/gstauparse.c
gst/autodetect/gstautoaudiosink.c
gst/autodetect/gstautovideosink.c
gst/avi/gstavimux.c
gst/cutter/gstcutter.c
gst/debug/breakmydata.c
gst/debug/efence.c
gst/debug/gstnavigationtest.c
gst/debug/negotiation.c
gst/debug/progressreport.c
gst/debug/testplugin.c
gst/effectv/gstaging.c
gst/effectv/gstdice.c
gst/effectv/gstedge.c
gst/effectv/gstquark.c
gst/effectv/gstrev.c
gst/effectv/gstvertigo.c
gst/effectv/gstwarp.c
gst/flx/gstflxdec.c
gst/goom/gstgoom.c
gst/law/alaw-decode.c
gst/law/alaw-encode.c
gst/law/mulaw-decode.c
gst/law/mulaw-encode.c
gst/level/gstlevel.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c
gst/median/gstmedian.c
gst/monoscope/gstmonoscope.c
gst/multipart/multipartdemux.c
gst/multipart/multipartmux.c
gst/oldcore/gstmultifilesrc.c
gst/oldcore/gstpipefilter.c
gst/rtp/gstasteriskh263.c
gst/rtp/gstrtpL16depay.c
gst/rtp/gstrtpL16pay.c
gst/rtp/gstrtpamrdepay.c
gst/rtp/gstrtpamrpay.c
gst/rtp/gstrtpdepay.c
gst/rtp/gstrtpgsmpay.c
gst/rtp/gstrtph263pay.c
gst/rtp/gstrtph263pdepay.c
gst/rtp/gstrtph263ppay.c
gst/rtp/gstrtpmp4gpay.c
gst/rtp/gstrtpmp4vdepay.c
gst/rtp/gstrtpmp4vpay.c
gst/rtp/gstrtpmpadepay.c
gst/rtp/gstrtpmpapay.c
gst/rtp/gstrtppcmadepay.c
gst/rtp/gstrtppcmapay.c
gst/rtp/gstrtppcmudepay.c
gst/rtp/gstrtppcmupay.c
gst/rtp/gstrtpspeexdepay.c
gst/rtp/gstrtpspeexpay.c
gst/smpte/gstsmpte.c
gst/videobox/gstvideobox.c
gst/videofilter/gstgamma.c
gst/videofilter/gstvideobalance.c
gst/videofilter/gstvideoflip.c
gst/videofilter/gstvideotemplate.c
gst/videomixer/videomixer.c
gst/wavenc/gstwavenc.c
gst/wavparse/gstwavparse.c

index d8144d0..50cd81a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,117 @@
+2006-03-30  j^  <j@bootlab.org>
+
+       * ext/aalib/gstaasink.c:
+       * ext/annodex/gstcmmldec.c:
+       * ext/annodex/gstcmmlenc.c:
+       * ext/cairo/gsttextoverlay.c:
+       * ext/cairo/gsttimeoverlay.c:
+       * ext/cdio/gstcdiocddasrc.c:
+       * ext/dv/gstdvdec.c:
+       * ext/esd/esdmon.c:
+       * ext/esd/esdsink.c:
+       * ext/flac/gstflacdec.c:
+       * ext/flac/gstflacenc.c:
+       * ext/flac/gstflactag.c:
+       * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init):
+       * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init):
+       * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init):
+       * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init):
+       * ext/gdk_pixbuf/gstgdkpixbuf.c:
+       * ext/gdk_pixbuf/pixbufscale.c:
+       * ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init):
+       * ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init):
+       * ext/jpeg/gstjpegdec.c:
+       * ext/jpeg/gstjpegenc.c:
+       * ext/jpeg/gstsmokedec.c:
+       * ext/jpeg/gstsmokeenc.c:
+       * ext/libcaca/gstcacasink.c:
+       * ext/libmng/gstmngdec.c:
+       * ext/libmng/gstmngenc.c:
+       * ext/libpng/gstpngdec.c:
+       * ext/libpng/gstpngenc.c:
+       * ext/mikmod/gstmikmod.c:
+       * ext/raw1394/gstdv1394src.c:
+       * ext/shout2/gstshout2.c:
+       * ext/speex/gstspeexdec.c:
+       * ext/speex/gstspeexenc.c:
+       * gst/alpha/gstalpha.c:
+       * gst/alpha/gstalphacolor.c:
+       * gst/auparse/gstauparse.c:
+       * gst/autodetect/gstautoaudiosink.c:
+       (gst_auto_audio_sink_base_init):
+       * gst/autodetect/gstautovideosink.c:
+       (gst_auto_video_sink_base_init):
+       * gst/avi/gstavimux.c: (gst_avimux_base_init):
+       * gst/cutter/gstcutter.c:
+       * gst/debug/breakmydata.c:
+       * gst/debug/efence.c:
+       * gst/debug/gstnavigationtest.c:
+       * gst/debug/negotiation.c:
+       * gst/debug/progressreport.c:
+       * gst/debug/testplugin.c:
+       * gst/effectv/gstaging.c:
+       * gst/effectv/gstdice.c:
+       * gst/effectv/gstedge.c:
+       * gst/effectv/gstquark.c:
+       * gst/effectv/gstrev.c:
+       * gst/effectv/gstvertigo.c:
+       * gst/effectv/gstwarp.c:
+       * gst/flx/gstflxdec.c:
+       * gst/goom/gstgoom.c:
+       * gst/interleave/deinterleave.c:
+       * gst/interleave/interleave.c:
+       * gst/law/alaw-decode.c: (gst_alawdec_base_init):
+       * gst/law/alaw-encode.c: (gst_alawenc_base_init):
+       * gst/law/mulaw-decode.c: (gst_mulawdec_base_init):
+       * gst/law/mulaw-encode.c: (gst_mulawenc_base_init):
+       * gst/level/gstlevel.c:
+       * gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init):
+       * gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init):
+       * gst/median/gstmedian.c:
+       * gst/monoscope/gstmonoscope.c:
+       * gst/multipart/multipartdemux.c:
+       * gst/multipart/multipartmux.c:
+       * gst/oldcore/gstmd5sink.c:
+       * gst/oldcore/gstmultifilesrc.c:
+       * gst/oldcore/gstpipefilter.c:
+       * gst/oldcore/gstshaper.c:
+       * gst/oldcore/gststatistics.c:
+       * gst/rtp/gstasteriskh263.c:
+       * gst/rtp/gstrtpL16depay.c:
+       * gst/rtp/gstrtpL16pay.c:
+       * gst/rtp/gstrtpamrdepay.c:
+       * gst/rtp/gstrtpamrpay.c:
+       * gst/rtp/gstrtpdepay.c:
+       * gst/rtp/gstrtpgsmpay.c:
+       * gst/rtp/gstrtph263pay.c:
+       * gst/rtp/gstrtph263pdepay.c:
+       * gst/rtp/gstrtph263ppay.c:
+       * gst/rtp/gstrtpmp4gpay.c:
+       * gst/rtp/gstrtpmp4vdepay.c:
+       * gst/rtp/gstrtpmp4vpay.c:
+       * gst/rtp/gstrtpmpadepay.c:
+       * gst/rtp/gstrtpmpapay.c:
+       * gst/rtp/gstrtppcmadepay.c:
+       * gst/rtp/gstrtppcmapay.c:
+       * gst/rtp/gstrtppcmudepay.c:
+       * gst/rtp/gstrtppcmupay.c:
+       * gst/rtp/gstrtpspeexdepay.c:
+       * gst/rtp/gstrtpspeexpay.c:
+       * gst/rtsp/gstrtpdec.c:
+       * gst/smpte/gstsmpte.c:
+       * gst/videobox/gstvideobox.c:
+       * gst/videofilter/gstgamma.c: (gst_gamma_base_init):
+       * gst/videofilter/gstvideobalance.c:
+       * gst/videofilter/gstvideoflip.c:
+       * gst/videofilter/gstvideotemplate.c:
+       (gst_videotemplate_base_init):
+       * gst/videomixer/videomixer.c:
+       * gst/wavenc/gstwavenc.c:
+       * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init):
+        better/unified long descriptions
+        Fixed #336602
+        Some cleanups to auparse, don't send multiple newsegments.
+
 2006-03-29  Wim Taymans  <wim@fluendo.com>
 
        From a patch by: Michael Dominic K. <mdk at mdk dot org dot pl>
index 9024968..267c5e5 100644 (file)
 #include <gst/video/video.h>
 
 /* elementfactory information */
-static GstElementDetails gst_aasink_details = {
-  "AA sink",
-  "Sink/Video",
-  "An ASCII art videosink",
-  "Wim Taymans <wim.taymans@chello.be>"
-};
+static GstElementDetails gst_aasink_details =
+GST_ELEMENT_DETAILS ("ASCII art video sink",
+    "Sink/Video",
+    "An ASCII art videosink",
+    "Wim Taymans <wim.taymans@chello.be>");
 
 /* aasink signals and args */
 enum
index 26376f4..f52ca2e 100644 (file)
@@ -69,11 +69,11 @@ enum
   LAST_SIGNAL
 };
 
-static GstElementDetails gst_cmml_dec_details = {
-  "cmmldec: Decodes CMML streams", "Codec/Decoder",
-  "Decodes CMML streams",
-  "Alessandro Decina <alessandro@nnva.org>",
-};
+static GstElementDetails gst_cmml_dec_details =
+GST_ELEMENT_DETAILS ("CMML stream decoder",
+    "Codec/Decoder",
+    "Decodes CMML streams",
+    "Alessandro Decina <alessandro@nnva.org>");
 
 static GstStaticPadTemplate gst_cmml_dec_src_factory =
 GST_STATIC_PAD_TEMPLATE ("src",
index e13a4f6..fdbbd96 100644 (file)
@@ -65,11 +65,11 @@ enum
   LAST_SIGNAL
 };
 
-static GstElementDetails gst_cmml_enc_details = {
-  "cmmlenc: Encodes CMML streams", "Codec/Encoder",
-  "Encodes CMML streams",
-  "Alessandro Decina <alessandro@nnva.org>",
-};
+static GstElementDetails gst_cmml_enc_details =
+GST_ELEMENT_DETAILS ("CMML streams encoder",
+    "Codec/Encoder",
+    "Encodes CMML streams",
+    "Alessandro Decina <alessandro@nnva.org>");
 
 static GstStaticPadTemplate gst_cmml_enc_src_factory =
 GST_STATIC_PAD_TEMPLATE ("src",
index 73f539d..642dd52 100644 (file)
 GST_DEBUG_CATEGORY_EXTERN (cairo_debug);
 #define GST_CAT_DEFAULT cairo_debug
 
-static GstElementDetails cairo_text_overlay_details = {
-  "Text Overlay",
-  "Filter/Editor/Video",
-  "Adds text strings on top of a video buffer",
-  "David Schleef <ds@schleef.org>"
-};
+static GstElementDetails cairo_text_overlay_details =
+GST_ELEMENT_DETAILS ("Text overlay",
+    "Filter/Editor/Video",
+    "Adds text strings on top of a video buffer",
+    "David Schleef <ds@schleef.org>");
 
 enum
 {
index 6e54468..9d03988 100644 (file)
@@ -49,7 +49,7 @@
 #include <gst/video/video.h>
 
 static GstElementDetails cairo_time_overlay_details =
-GST_ELEMENT_DETAILS ("Time Overlay",
+GST_ELEMENT_DETAILS ("Time overlay",
     "Filter/Editor/Video",
     "Overlays the time on a video stream",
     "David Schleef <ds@schleef.org>");
index ed0fef6..754edc8 100644 (file)
@@ -91,12 +91,11 @@ enum
   PROP_READ_SPEED
 };
 
-static GstElementDetails gst_cdio_cdda_src_details = {
-  "CD Audio (cdda) Source",
-  "Source/File",
-  "Read audio from CD using libcdio",
-  "Tim-Philipp Müller <tim centricular net>",
-};
+static GstElementDetails gst_cdio_cdda_src_details =
+GST_ELEMENT_DETAILS ("CD audio source (CDDA)",
+    "Source/File",
+    "Read audio from CD using libcdio",
+    "Tim-Philipp Müller <tim centricular net>");
 
 GST_BOILERPLATE (GstCdioCddaSrc, gst_cdio_cdda_src, GstCddaBaseSrc,
     GST_TYPE_CDDA_BASE_SRC);
index 4458f3a..2392094 100644 (file)
@@ -52,9 +52,9 @@
 
 
 static GstElementDetails dvdec_details =
-GST_ELEMENT_DETAILS ("DV (smpte314) decoder plugin",
+GST_ELEMENT_DETAILS ("DV video decoder",
     "Codec/Decoder/Video",
-    "Uses libdv to decode DV video (libdv.sourceforge.net)",
+    "Uses libdv to decode DV video (smpte314) (libdv.sourceforge.net)",
     "Erik Walthinsen <omega@cse.ogi.edu>," "Wim Taymans <wim@fluendo.com>");
 
 /* sizes of one input buffer */
index f69e0ca..473b1ea 100644 (file)
 
 
 /* elementfactory information */
-static GstElementDetails esdmon_details = {
-  "Esound audio monitor",
-  "Source/Audio",
-  "Monitors audio from an esound server",
-  "Richard Boulton <richard-gst@tartarus.org>",
-};
+static GstElementDetails esdmon_details =
+GST_ELEMENT_DETAILS ("Esound audio monitor",
+    "Source/Audio",
+    "Monitors audio from an esound server",
+    "Richard Boulton <richard-gst@tartarus.org>");
 
 /* Signals and args */
 enum
index 9d107f2..cf25573 100644 (file)
@@ -34,12 +34,11 @@ GST_DEBUG_CATEGORY_EXTERN (esd_debug);
 #define GST_CAT_DEFAULT esd_debug
 
 /* elementfactory information */
-static GstElementDetails esdsink_details = {
-  "Esound audio sink",
-  "Sink/Audio",
-  "Plays audio to an esound server",
-  "Arwed von Merkatz <v.merkatz@gmx.net>",
-};
+static GstElementDetails esdsink_details =
+GST_ELEMENT_DETAILS ("Esound audio sink",
+    "Sink/Audio",
+    "Plays audio to an esound server",
+    "Arwed von Merkatz <v.merkatz@gmx.net>");
 
 enum
 {
index c310c6e..251990f 100644 (file)
@@ -58,12 +58,11 @@ GST_DEBUG_CATEGORY_STATIC (flacdec_debug);
 
 static GstPadTemplate *src_template, *sink_template;
 
-static GstElementDetails flacdec_details = {
-  "FLAC decoder",
-  "Codec/Decoder/Audio",
-  "Decodes FLAC lossless audio streams",
-  "Wim Taymans <wim.taymans@chello.be>",
-};
+static GstElementDetails flacdec_details =
+GST_ELEMENT_DETAILS ("FLAC audio decoder",
+    "Codec/Decoder/Audio",
+    "Decodes FLAC lossless audio streams",
+    "Wim Taymans <wim.taymans@chello.be>");
 
 
 static void gst_flac_dec_finalize (GObject * object);
index 583f52e..655dff3 100644 (file)
 #include "flac_compat.h"
 
 
-GstElementDetails flacenc_details = {
-  "FLAC encoder",
-  "Codec/Encoder/Audio",
-  "Encodes audio with the FLAC lossless audio encoder",
-  "Wim Taymans <wim.taymans@chello.be>",
-};
+GstElementDetails flacenc_details = GST_ELEMENT_DETAILS ("FLAC audio encoder",
+    "Codec/Encoder/Audio",
+    "Encodes audio with the FLAC lossless audio encoder",
+    "Wim Taymans <wim.taymans@chello.be>");
 
 #define FLAC_SINK_CAPS \
   "audio/x-raw-int, "               \
index c3f2370..418a27c 100644 (file)
@@ -87,7 +87,7 @@ struct _GstFlacTagClass
 
 /* elementfactory information */
 static GstElementDetails gst_flac_tag_details =
-GST_ELEMENT_DETAILS ("flac retagger",
+GST_ELEMENT_DETAILS ("FLAC tagger",
     "Tag",
     "Rewrite tags in a FLAC file",
     "Christope Fergeau <teuf@gnome.org>");
index 4929c25..6c704a0 100644 (file)
@@ -51,12 +51,11 @@ static void
 gst_gconf_audio_sink_base_init (gpointer klass)
 {
   GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
-  GstElementDetails gst_gconf_audio_sink_details = {
-    "GConf audio sink",
-    "Sink/Audio",
-    "Audio sink embedding the GConf-settings for audio output",
-    "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-  };
+  GstElementDetails gst_gconf_audio_sink_details =
+      GST_ELEMENT_DETAILS ("GConf audio sink",
+      "Sink/Audio",
+      "Audio sink embedding the GConf-settings for audio output",
+      "Ronald Bultje <rbultje@ronald.bitfreak.net>");
   GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
       GST_PAD_SINK,
       GST_PAD_ALWAYS,
index fd152b2..86837c1 100644 (file)
@@ -40,12 +40,11 @@ static void
 gst_gconf_audio_src_base_init (gpointer klass)
 {
   GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
-  GstElementDetails gst_gconf_audio_src_details = {
-    "GConf audio source",
-    "Source/Audio",
-    "Audio source embedding the GConf-settings for audio input",
-    "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-  };
+  GstElementDetails gst_gconf_audio_src_details =
+      GST_ELEMENT_DETAILS ("GConf audio source",
+      "Source/Audio",
+      "Audio source embedding the GConf-settings for audio input",
+      "Ronald Bultje <rbultje@ronald.bitfreak.net>");
   GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
       GST_PAD_SRC,
       GST_PAD_ALWAYS,
index f34691b..1b4479e 100644 (file)
@@ -39,12 +39,11 @@ static void
 gst_gconf_video_sink_base_init (gpointer klass)
 {
   GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
-  GstElementDetails gst_gconf_video_sink_details = {
-    "GConf video sink",
-    "Sink/Video",
-    "Video sink embedding the GConf-settings for video output",
-    "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-  };
+  GstElementDetails gst_gconf_video_sink_details =
+      GST_ELEMENT_DETAILS ("GConf video sink",
+      "Sink/Video",
+      "Video sink embedding the GConf-settings for video output",
+      "Ronald Bultje <rbultje@ronald.bitfreak.net>");
   GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
       GST_PAD_SINK,
       GST_PAD_ALWAYS,
index 8fb7537..a613da6 100644 (file)
@@ -40,12 +40,11 @@ static void
 gst_gconf_video_src_base_init (gpointer klass)
 {
   GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
-  GstElementDetails gst_gconf_video_src_details = {
-    "GConf video source",
-    "Source/Video",
-    "Video source embedding the GConf-settings for video input",
-    "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-  };
+  GstElementDetails gst_gconf_video_src_details =
+      GST_ELEMENT_DETAILS ("GConf video source",
+      "Source/Video",
+      "Video source embedding the GConf-settings for video input",
+      "Ronald Bultje <rbultje@ronald.bitfreak.net>");
   GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
       GST_PAD_SRC,
       GST_PAD_ALWAYS,
index 1729ef3..93ca43d 100644 (file)
 GST_DEBUG_CATEGORY_STATIC (gst_gdk_pixbuf_debug);
 #define GST_CAT_DEFAULT gst_gdk_pixbuf_debug
 
-static GstElementDetails plugin_details = {
-  "GdkPixbuf image decoder",
-  "Codec/Decoder/Image",
-  "Decodes images in a video stream using GdkPixbuf",
-  "David A. Schleef <ds@schleef.org>, Renato Filho <renato.filho@indt.org.br>",
-};
+static GstElementDetails plugin_details =
+GST_ELEMENT_DETAILS ("GdkPixbuf image decoder",
+    "Codec/Decoder/Image",
+    "Decodes images in a video stream using GdkPixbuf",
+    "David A. Schleef <ds@schleef.org>, Renato Filho <renato.filho@indt.org.br>");
 
 /* Filter signals and args */
 enum
index 77b955b..a6dbe1e 100644 (file)
@@ -41,7 +41,7 @@ GST_DEBUG_CATEGORY (pixbufscale_debug);
 
 /* elementfactory information */
 static GstElementDetails pixbufscale_details =
-GST_ELEMENT_DETAILS ("Gdk Pixbuf scaler",
+GST_ELEMENT_DETAILS ("GdkPixbuf image scaler",
     "Filter/Effect/Video",
     "Resizes video",
     "Jan Schmidt <thaytan@mad.scientist.com>\n"
index e1e5ae7..eb9c4ee 100644 (file)
@@ -73,12 +73,11 @@ static void
 gst_hal_audio_sink_base_init (gpointer klass)
 {
   GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
-  GstElementDetails gst_hal_audio_sink_details = {
-    "HAL audio sink",
-    "Sink/Audio",
-    "Audio sink for sound device access via HAL",
-    "Jürg Billeter <j@bitron.ch>"
-  };
+  GstElementDetails gst_hal_audio_sink_details =
+      GST_ELEMENT_DETAILS ("HAL audio sink",
+      "Sink/Audio",
+      "Audio sink for sound device access via HAL",
+      "Jürg Billeter <j@bitron.ch>");
   GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
       GST_PAD_SINK,
       GST_PAD_ALWAYS,
index 6c2401a..fb8cc9b 100644 (file)
@@ -75,12 +75,11 @@ static void
 gst_hal_audio_src_base_init (gpointer klass)
 {
   GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
-  GstElementDetails gst_hal_audio_src_details = {
-    "HAL audio source",
-    "Source/Audio",
-    "Audio source for sound device access via HAL",
-    "Jürg Billeter <j@bitron.ch>"
-  };
+  GstElementDetails gst_hal_audio_src_details =
+      GST_ELEMENT_DETAILS ("HAL audio source",
+      "Source/Audio",
+      "Audio source for sound device access via HAL",
+      "Jürg Billeter <j@bitron.ch>");
   GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
       GST_PAD_SRC,
       GST_PAD_ALWAYS,
index 492831f..d1795fc 100644 (file)
 #include "gst/gst-i18n-plugin.h"
 #include <jerror.h>
 
-GstElementDetails gst_jpeg_dec_details = {
-  "JPEG image decoder",
-  "Codec/Decoder/Image",
-  "Decode images from JPEG format",
-  "Wim Taymans <wim.taymans@tvd.be>",
-};
+GstElementDetails gst_jpeg_dec_details =
+GST_ELEMENT_DETAILS ("JPEG image decoder",
+    "Codec/Decoder/Image",
+    "Decode images from JPEG format",
+    "Wim Taymans <wim.taymans@tvd.be>");
 
 #define MIN_WIDTH  16
 #define MAX_WIDTH  4096
index 1f45531..6cb8c76 100644 (file)
 #include <gst/video/video.h>
 
 /* elementfactory information */
-GstElementDetails gst_jpegenc_details = {
-  "JPEG image encoder",
-  "Codec/Encoder/Image",
-  "Encode images in JPEG format",
-  "Wim Taymans <wim.taymans@tvd.be>",
-};
+GstElementDetails gst_jpegenc_details =
+GST_ELEMENT_DETAILS ("JPEG image encoder",
+    "Codec/Encoder/Image",
+    "Encode images in JPEG format",
+    "Wim Taymans <wim.taymans@tvd.be>");
 
 GST_DEBUG_CATEGORY (jpegenc_debug);
 #define GST_CAT_DEFAULT jpegenc_debug
index ddeb036..7e2e28e 100644 (file)
 #include <gst/video/video.h>
 
 /* elementfactory information */
-GstElementDetails gst_smokedec_details = {
-  "Smoke video decoder",
-  "Codec/Decoder/Image",
-  "Decode video from Smoke format",
-  "Wim Taymans <wim@fluendo.com>",
-};
+GstElementDetails gst_smokedec_details =
+GST_ELEMENT_DETAILS ("Smoke video decoder",
+    "Codec/Decoder/Video",
+    "Decode video from Smoke format",
+    "Wim Taymans <wim@fluendo.com>");
 
 GST_DEBUG_CATEGORY (smokedec_debug);
 #define GST_CAT_DEFAULT smokedec_debug
index c1d94cb..b68ba48 100644 (file)
 #include <gst/video/video.h>
 
 /* elementfactory information */
-GstElementDetails gst_smokeenc_details = {
-  "Smoke image encoder",
-  "Codec/Encoder/Image",
-  "Encode images in the Smoke format",
-  "Wim Taymans <wim@fluendo.com>",
-};
+GstElementDetails gst_smokeenc_details =
+GST_ELEMENT_DETAILS ("Smoke video encoder",
+    "Codec/Encoder/Video",
+    "Encode images into the Smoke format",
+    "Wim Taymans <wim@fluendo.com>");
 
 GST_DEBUG_CATEGORY (smokeenc_debug);
 #define GST_CAT_DEFAULT smokeenc_debug
index ab33821..20bb0e9 100644 (file)
 #include "gstcacasink.h"
 
 /* elementfactory information */
-static GstElementDetails gst_cacasink_details = {
-  "CACA sink",
-  "Sink/Video",
-  "A colored ASCII art videosink",
-  "Zeeshan Ali <zak147@yahoo.com>"
-};
+static GstElementDetails gst_cacasink_details =
+GST_ELEMENT_DETAILS ("A colored ASCII art video sink",
+    "Sink/Video",
+    "A colored ASCII art videosink",
+    "Zeeshan Ali <zak147@yahoo.com>");
 
 /* cacasink signals and args */
 enum
index 97e9ff9..77eaa69 100644 (file)
 #include "gstmngdec.h"
 #include <gst/video/video.h>
 
-static GstElementDetails gst_mngdec_details = {
-  "MNG decoder",
-  "Codec/Decoder/Image",
-  "Decode a mng video to raw images",
-  "Wim Taymans <wim@fluendo.com>",
-};
+static GstElementDetails gst_mngdec_details =
+GST_ELEMENT_DETAILS ("MNG video decoder",
+    "Codec/Decoder/Video",
+    "Decode a mng video to raw images",
+    "Wim Taymans <wim@fluendo.com>");
 
 
 /* Filter signals and args */
index 320d314..149b3cb 100644 (file)
 #define MAX_HEIGHT              4096
 
 
-GstElementDetails gst_mngenc_details = {
-  "MNG encoder",
-  "Codec/Encoder/Image",
-  "Encode a video frame to an .mng video",
-  "Wim Taymans <wim@fluendo.com>",
-};
+GstElementDetails gst_mngenc_details = GST_ELEMENT_DETAILS ("MNG video encoder",
+    "Codec/Encoder/Video",
+    "Encode a video frame to an .mng video",
+    "Wim Taymans <wim@fluendo.com>");
 
 
 /* Filter signals and args */
index 9bf672c..9e262b5 100644 (file)
 #include <gst/video/video.h>
 #include <gst/gst-i18n-plugin.h>
 
-static GstElementDetails gst_pngdec_details = {
-  "PNG decoder",
-  "Codec/Decoder/Image",
-  "Decode a png video frame to a raw image",
-  "Wim Taymans <wim@fluendo.com>",
-};
+static GstElementDetails gst_pngdec_details =
+GST_ELEMENT_DETAILS ("PNG image decoder",
+    "Codec/Decoder/Image",
+    "Decode a png video frame to a raw image",
+    "Wim Taymans <wim@fluendo.com>");
 
 GST_DEBUG_CATEGORY (pngdec_debug);
 #define GST_CAT_DEFAULT pngdec_debug
index be0830a..f6d7a23 100644 (file)
 #define MAX_HEIGHT              4096
 
 
-static GstElementDetails gst_pngenc_details = {
-  "PNG encoder",
-  "Codec/Encoder/Image",
-  "Encode a video frame to a .png image",
-  "Jeremy SIMON <jsimon13@yahoo.fr>",
-};
+static GstElementDetails gst_pngenc_details =
+GST_ELEMENT_DETAILS ("PNG image encoder",
+    "Codec/Encoder/Image",
+    "Encode a video frame to a .png image",
+    "Jeremy SIMON <jsimon13@yahoo.fr>");
 
 GST_DEBUG_CATEGORY (pngenc_debug);
 #define GST_CAT_DEFAULT pngenc_debug
index 55692f1..0900087 100644 (file)
 #include <stdlib.h>
 
 /* elementfactory information */
-GstElementDetails mikmod_details = {
-  "MikMod",
-  "Codec/Decoder/Audio",
-  "Module decoder based on libmikmod",
-  "Jeremy SIMON <jsimon13@yahoo.fr>",
-};
+GstElementDetails mikmod_details = GST_ELEMENT_DETAILS ("MikMod audio decoder",
+    "Codec/Decoder/Audio",
+    "Module decoder based on libmikmod",
+    "Jeremy SIMON <jsimon13@yahoo.fr>");
 
 
 /* Filter signals and args */
index e8c706c..4e1e2e5 100644 (file)
@@ -94,7 +94,7 @@ enum
 };
 
 static GstElementDetails gst_dv1394src_details =
-GST_ELEMENT_DETAILS ("Firewire (1394) DV Source",
+GST_ELEMENT_DETAILS ("Firewire (1394) DV video source",
     "Source/Video",
     "Source for DV video data from firewire port",
     "Erik Walthinsen <omega@temple-baptist.com>\n"
index 5ede7de..f8933dd 100644 (file)
@@ -28,13 +28,13 @@ GST_DEBUG_CATEGORY (shout2_debug);
 #define GST_CAT_DEFAULT shout2_debug
 
 /* elementfactory information */
-static GstElementDetails shout2send_details = {
-  "An Icecast plugin",
-  "Sink/Network",
-  "Sends data to an icecast server",
-  "Wim Taymans <wim.taymans@chello.be>\n" "Pedro Corte-Real <typo@netcabo.pt>\n"
-      "Zaheer Abbas Merali <zaheerabbas at merali dot org>"
-};
+static GstElementDetails shout2send_details =
+GST_ELEMENT_DETAILS ("Icecast network sink",
+    "Sink/Network",
+    "Sends data to an icecast server",
+    "Wim Taymans <wim.taymans@chello.be>\n"
+    "Pedro Corte-Real <typo@netcabo.pt>\n"
+    "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
 
 
 /* Shout2send signals and args */
index da53dd9..704aa45 100644 (file)
 GST_DEBUG_CATEGORY (speexdec_debug);
 #define GST_CAT_DEFAULT speexdec_debug
 
-static GstElementDetails speex_dec_details = {
-  "SpeexDec",
-  "Codec/Decoder/Audio",
-  "decode speex streams to audio",
-  "Wim Taymans <wim@fluendo.com>",
-};
+static GstElementDetails speex_dec_details =
+GST_ELEMENT_DETAILS ("Speex audio decoder",
+    "Codec/Decoder/Audio",
+    "decode speex streams to audio",
+    "Wim Taymans <wim@fluendo.com>");
 
 #define DEFAULT_ENH             TRUE
 
index 3321f2a..429c7c7 100644 (file)
@@ -38,12 +38,10 @@ GST_DEBUG_CATEGORY (speexenc_debug);
 static GstPadTemplate *gst_speexenc_src_template, *gst_speexenc_sink_template;
 
 /* elementfactory information */
-GstElementDetails speexenc_details = {
-  "Speex encoder",
-  "Codec/Encoder/Audio",
-  "Encodes audio in Speex format",
-  "Wim Taymans <wim@fluendo.com>",
-};
+GstElementDetails speexenc_details = GST_ELEMENT_DETAILS ("Speex audio encoder",
+    "Codec/Encoder/Audio",
+    "Encodes audio in Speex format",
+    "Wim Taymans <wim@fluendo.com>");
 
 /* GstSpeexEnc signals and args */
 enum
index 5237706..da6e073 100644 (file)
@@ -95,7 +95,7 @@ struct _GstAlphaClass
 
 /* elementfactory information */
 static GstElementDetails gst_alpha_details =
-GST_ELEMENT_DETAILS ("alpha filter",
+GST_ELEMENT_DETAILS ("Alpha filter",
     "Filter/Effect/Video",
     "Adds an alpha channel to video",
     "Wim Taymans <wim@fluendo.com>");
index 04bc70c..7fd225e 100644 (file)
@@ -60,7 +60,7 @@ struct _GstAlphaColorClass
 
 /* elementfactory information */
 static GstElementDetails gst_alpha_color_details =
-GST_ELEMENT_DETAILS ("alpha color filter",
+GST_ELEMENT_DETAILS ("Alpha color filter",
     "Filter/Effect/Video",
     "RGB->YUV colorspace conversion preserving the alpha channels",
     "Wim Taymans <wim@fluendo.com>");
index 018ee50..ba03538 100644 (file)
@@ -34,7 +34,7 @@
 
 /* elementfactory information */
 static GstElementDetails gst_au_parse_details =
-GST_ELEMENT_DETAILS (".au parser",
+GST_ELEMENT_DETAILS ("AU audio demuxer",
     "Codec/Demuxer/Audio",
     "Parse an .au file into raw audio",
     "Erik Walthinsen <omega@cse.ogi.edu>");
@@ -113,8 +113,8 @@ gst_au_parse_init (GstAuParse * auparse, GstAuParseClass * klass)
 {
   auparse->sinkpad =
       gst_pad_new_from_static_template (&gst_au_parse_sink_template, "sink");
-  gst_element_add_pad (GST_ELEMENT (auparse), auparse->sinkpad);
   gst_pad_set_chain_function (auparse->sinkpad, gst_au_parse_chain);
+  gst_element_add_pad (GST_ELEMENT (auparse), auparse->sinkpad);
 
   auparse->srcpad =
       gst_pad_new_from_static_template (&gst_au_parse_src_template, "src");
@@ -153,7 +153,6 @@ gst_au_parse_chain (GstPad * pad, GstBuffer * buf)
   gint law = 0, depth = 0, ieee = 0;
   gchar layout[7];
   GstBuffer *databuf;
-  GstEvent *event;
 
   layout[0] = 0;
 
@@ -168,6 +167,8 @@ gst_au_parse_chain (GstPad * pad, GstBuffer * buf)
   if (auparse->size == 0) {
     guint32 *head = (guint32 *) data;
 
+    /* FIXME, check if we have enough data (with adapter?) instead of
+     * crashing. */
     /* normal format is big endian (au is a Sparc format) */
     if (GST_READ_UINT32_BE (head) == 0x2e736e64) {      /* ".snd" */
       head++;
@@ -202,10 +203,7 @@ gst_au_parse_chain (GstPad * pad, GstBuffer * buf)
       head++;
 
     } else {
-      GST_ELEMENT_ERROR (auparse, STREAM, WRONG_TYPE, (NULL), (NULL));
-      gst_buffer_unref (buf);
-      gst_object_unref (auparse);
-      return GST_FLOW_ERROR;
+      goto unknown_header;
     }
 
     GST_DEBUG
@@ -289,10 +287,7 @@ Samples :
       case 22:                 /* Music kit DSP commands samples */
 
       default:
-        GST_ELEMENT_ERROR (auparse, STREAM, FORMAT, (NULL), (NULL));
-        gst_buffer_unref (buf);
-        gst_object_unref (auparse);
-        return GST_FLOW_ERROR;
+        goto unknown_format;
     }
 
     if (law) {
@@ -324,14 +319,18 @@ Samples :
       auparse->sample_size = auparse->channels * depth / 8;
     }
 
-    gst_pad_use_fixed_caps (auparse->srcpad);
     gst_pad_set_caps (auparse->srcpad, tempcaps);
-    gst_pad_set_active (auparse->srcpad, TRUE);
 
-    event = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_DEFAULT,
-        0, GST_CLOCK_TIME_NONE, 0);
+#if 0
+    {
+      GstEvent *event;
+
+      event = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_DEFAULT,
+          0, GST_CLOCK_TIME_NONE, 0);
 
-    gst_pad_push_event (auparse->srcpad, event);
+      gst_pad_push_event (auparse->srcpad, event);
+    }
+#endif
 
     databuf = gst_buffer_create_sub (buf, auparse->offset,
         size - auparse->offset);
@@ -381,6 +380,22 @@ Samples :
   gst_object_unref (auparse);
 
   return ret;
+
+  /* ERRORS */
+unknown_header:
+  {
+    GST_ELEMENT_ERROR (auparse, STREAM, WRONG_TYPE, (NULL), (NULL));
+    gst_buffer_unref (buf);
+    gst_object_unref (auparse);
+    return GST_FLOW_ERROR;
+  }
+unknown_format:
+  {
+    GST_ELEMENT_ERROR (auparse, STREAM, FORMAT, (NULL), (NULL));
+    gst_buffer_unref (buf);
+    gst_object_unref (auparse);
+    return GST_FLOW_ERROR;
+  }
 }
 
 static GstStateChangeReturn
index 28892f4..cb087c0 100644 (file)
@@ -56,12 +56,11 @@ static void
 gst_auto_audio_sink_base_init (gpointer klass)
 {
   GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
-  GstElementDetails gst_auto_audio_sink_details = {
-    "Auto audio sink",
-    "Sink/Audio",
-    "Wrapper audio sink for automatically detected audio sink",
-    "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-  };
+  GstElementDetails gst_auto_audio_sink_details =
+      GST_ELEMENT_DETAILS ("Auto audio sink",
+      "Sink/Audio",
+      "Wrapper audio sink for automatically detected audio sink",
+      "Ronald Bultje <rbultje@ronald.bitfreak.net>");
   GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
       GST_PAD_SINK,
       GST_PAD_ALWAYS,
index 8859492..0e1ce09 100644 (file)
@@ -56,12 +56,11 @@ static void
 gst_auto_video_sink_base_init (gpointer klass)
 {
   GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
-  GstElementDetails gst_auto_video_sink_details = {
-    "Auto video sink",
-    "Sink/Video",
-    "Wrapper video sink for automatically detected video sink",
-    "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-  };
+  GstElementDetails gst_auto_video_sink_details =
+      GST_ELEMENT_DETAILS ("Auto video sink",
+      "Sink/Video",
+      "Wrapper video sink for automatically detected video sink",
+      "Ronald Bultje <rbultje@ronald.bitfreak.net>");
   GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
       GST_PAD_SINK,
       GST_PAD_ALWAYS,
index 253b7da..15a374f 100644 (file)
@@ -198,7 +198,7 @@ gst_avimux_base_init (gpointer g_class)
 {
   GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
   static GstElementDetails gst_avimux_details =
-      GST_ELEMENT_DETAILS ("Avi multiplexer",
+      GST_ELEMENT_DETAILS ("Avi muxer",
       "Codec/Muxer",
       "Muxes audio and video into an avi stream",
       "Ronald Bultje <rbultje@ronald.bitfreak.net>");
index 9b302cd..8d3c064 100644 (file)
@@ -34,12 +34,10 @@ GST_DEBUG_CATEGORY (cutter_debug);
 #define CUTTER_DEFAULT_THRESHOLD_LENGTH  (500 * GST_MSECOND)
 #define CUTTER_DEFAULT_PRE_LENGTH        (200 * GST_MSECOND)
 
-static GstElementDetails cutter_details = {
-  "Cutter",
-  "Filter/Editor/Audio",
-  "Audio Cutter to split audio into non-silent bits",
-  "Thomas <thomas@apestaart.org>",
-};
+static GstElementDetails cutter_details = GST_ELEMENT_DETAILS ("Audio cutter",
+    "Filter/Editor/Audio",
+    "Audio Cutter to split audio into non-silent bits",
+    "Thomas <thomas@apestaart.org>");
 
 static GstStaticPadTemplate cutter_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
index 724ac4f..0a02058 100644 (file)
@@ -83,7 +83,7 @@ static GstFlowReturn gst_break_my_data_transform_ip (GstBaseTransform * trans,
 static gboolean gst_break_my_data_stop (GstBaseTransform * trans);
 static gboolean gst_break_my_data_start (GstBaseTransform * trans);
 
-static GstElementDetails details = GST_ELEMENT_DETAILS ("breakmydata",
+static GstElementDetails details = GST_ELEMENT_DETAILS ("Break my data",
     "Testing",
     "randomly change data in the stream",
     "Benjamin Otte <otte@gnome>");
index 9093259..2c72725 100644 (file)
 GST_DEBUG_CATEGORY_STATIC (gst_efence_debug);
 #define GST_CAT_DEFAULT  gst_efence_debug
 
-static GstElementDetails plugin_details = {
-  "Electric Fence",
-  "Testing",
-  "This element converts a stream of normal GStreamer buffers into a "
-      "stream of buffers that are allocated in such a way that out-of-bounds "
-      "access to data in the buffer is more likely to cause segmentation "
-      "faults.  This allocation method is very similar to the debugging tool "
-      "\"Electric Fence\".",
-  "David A. Schleef <ds@schleef.org>",
-};
+static GstElementDetails plugin_details = GST_ELEMENT_DETAILS ("Electric Fence",
+    "Testing",
+    "This element converts a stream of normal GStreamer buffers into a "
+    "stream of buffers that are allocated in such a way that out-of-bounds "
+    "access to data in the buffer is more likely to cause segmentation "
+    "faults.  This allocation method is very similar to the debugging tool "
+    "\"Electric Fence\".",
+    "David A. Schleef <ds@schleef.org>");
 
 /* Filter signals and args */
 enum
index f31ee96..d46ee47 100644 (file)
@@ -32,7 +32,7 @@ GST_DEBUG_CATEGORY (navigationtest_debug);
 #define GST_CAT_DEFAULT navigationtest_debug
 
 static GstElementDetails navigationtest_details =
-GST_ELEMENT_DETAILS ("Video Navigation test",
+GST_ELEMENT_DETAILS ("Video navigation test",
     "Filter/Effect/Video",
     "Handle navigation events showing a black square following mouse pointer",
     "David Schleef <ds@schleef.org>");
index c3f2314..feb6252 100644 (file)
@@ -60,13 +60,11 @@ struct _GstNegotiationClass
 GType gst_gst_negotiation_get_type (void);
 
 
-static GstElementDetails plugin_details = {
-  "Negotiation",
-  "Testing",
-  "This element acts like identity, except that one can control how "
-      "negotiation works",
-  "David A. Schleef <ds@schleef.org>",
-};
+static GstElementDetails plugin_details = GST_ELEMENT_DETAILS ("Negotiation",
+    "Testing",
+    "This element acts like identity, except that one can control how "
+    "negotiation works",
+    "David A. Schleef <ds@schleef.org>");
 
 /* Filter signals and args */
 enum
index 35bbf3c..a09fbd7 100644 (file)
@@ -78,7 +78,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_STATIC_CAPS_ANY);
 
 static GstElementDetails progress_report_details =
-GST_ELEMENT_DETAILS ("Progress Report",
+GST_ELEMENT_DETAILS ("Progress report",
     "Testing",
     "Periodically query and report on processing progress",
     "Jan Schmidt <thaytan@mad.scientist.com>");
index d176e09..e549c99 100644 (file)
@@ -79,7 +79,7 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_STATIC_CAPS_ANY);
 
 
-static GstElementDetails details = GST_ELEMENT_DETAILS ("gsttestsink",
+static GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin",
     "Testing",
     "perform a number of tests",
     "Benjamin Otte <otte@gnome>");
index c9a9da6..54e1e59 100644 (file)
@@ -93,7 +93,8 @@ struct _GstAgingTVClass
 
 GType gst_agingtv_get_type (void);
 
-static GstElementDetails agingtv_details = GST_ELEMENT_DETAILS ("AgingTV",
+static GstElementDetails agingtv_details =
+GST_ELEMENT_DETAILS ("AgingTV effect",
     "Filter/Effect/Video",
     "AgingTV adds age to video input using scratches and dust",
     "Sam Lantinga <slouken@devolution.com>");
index b5492b5..711f3c5 100644 (file)
@@ -70,7 +70,8 @@ GType gst_dicetv_get_type (void);
 
 static void gst_dicetv_create_map (GstDiceTV * filter);
 
-static GstElementDetails gst_dicetv_details = GST_ELEMENT_DETAILS ("DiceTV",
+static GstElementDetails gst_dicetv_details =
+GST_ELEMENT_DETAILS ("DiceTV effect",
     "Filter/Effect/Video",
     "'Dices' the screen up into many small squares",
     "Wim Taymans <wim.taymans@chello.be>");
index 3da3870..eb7f6aa 100644 (file)
@@ -62,7 +62,8 @@ struct _GstEdgeTVClass
 
 GType gst_edgetv_get_type (void);
 
-static GstElementDetails gst_edgetv_details = GST_ELEMENT_DETAILS ("EdgeTV",
+static GstElementDetails gst_edgetv_details =
+GST_ELEMENT_DETAILS ("EdgeTV effect",
     "Filter/Effect/Video",
     "Apply edge detect on video",
     "Wim Taymans <wim.taymans@chello.be>");
index 1e35702..9b98569 100644 (file)
@@ -76,7 +76,8 @@ GType gst_quarktv_get_type (void);
 
 static void gst_quarktv_planetable_clear (GstQuarkTV * filter);
 
-static GstElementDetails quarktv_details = GST_ELEMENT_DETAILS ("QuarkTV",
+static GstElementDetails quarktv_details =
+GST_ELEMENT_DETAILS ("QuarkTV effect",
     "Filter/Effect/Video",
     "Motion dissolver",
     "FUKUCHI, Kentarou <fukuchi@users.sourceforge.net>");
index 898eb5d..44dd3ef 100644 (file)
@@ -93,7 +93,8 @@ enum
 
 GType gst_revtv_get_type (void);
 
-static GstElementDetails gst_revtv_details = GST_ELEMENT_DETAILS ("RevTV",
+static GstElementDetails gst_revtv_details =
+GST_ELEMENT_DETAILS ("RevTV effect",
     "Filter/Effect/Video",
     "A video waveform monitor for each line of video processed",
     "Wim Taymans <wim.taymans@chello.be>");
index 244ca17..5c0016e 100644 (file)
@@ -76,7 +76,8 @@ enum
   ARG_ZOOM_SPEED
 };
 
-static GstElementDetails vertigotv_details = GST_ELEMENT_DETAILS ("VertigoTV",
+static GstElementDetails vertigotv_details =
+GST_ELEMENT_DETAILS ("VertigoTV effect",
     "Filter/Effect/Video",
     "A loopback alpha blending effector with rotating and scaling",
     "Wim Taymans <wim.taymans@chello.be>");
index 3cca8da..ec45153 100644 (file)
@@ -85,7 +85,7 @@ static void initSinTable (GstWarpTV * filter);
 static void initOffsTable (GstWarpTV * filter);
 static void initDistTable (GstWarpTV * filter);
 
-static GstElementDetails warptv_details = GST_ELEMENT_DETAILS ("WarpTV",
+static GstElementDetails warptv_details = GST_ELEMENT_DETAILS ("WarpTV effect",
     "Filter/Effect/Video",
     "WarpTV does realtime goo'ing of the video input",
     "Sam Lantinga <slouken@devolution.com>");
index d6db1bb..585567e 100644 (file)
@@ -32,12 +32,11 @@ GST_DEBUG_CATEGORY_STATIC (flxdec_debug);
 #define GST_CAT_DEFAULT flxdec_debug
 
 /* flx element information */
-static GstElementDetails flxdec_details = {
-  "FLX Decoder",
-  "Codec/Decoder/Audio",
-  "FLX decoder",
-  "Sepp Wijnands <mrrazz@garbage-coderz.net>, Zeeshan Ali <zeenix@gmail.com>"
-};
+static GstElementDetails flxdec_details =
+GST_ELEMENT_DETAILS ("FLX audio decoder",
+    "Codec/Decoder/Audio",
+    "FLX decoder",
+    "Sepp Wijnands <mrrazz@garbage-coderz.net>, Zeeshan Ali <zeenix@gmail.com>");
 
 /* Flx signals and args */
 enum
index 54425aa..745b0c6 100644 (file)
@@ -45,12 +45,11 @@ GST_DEBUG_CATEGORY_STATIC (goom_debug);
 #define GST_CAT_DEFAULT goom_debug
 
 /* elementfactory information */
-static GstElementDetails gst_goom_details = {
-  "GOOM: what a GOOM!",
-  "Visualization",
-  "Takes frames of data and outputs video frames using the GOOM filter",
-  "Wim Taymans <wim.taymans@chello.be>"
-};
+static GstElementDetails gst_goom_details =
+GST_ELEMENT_DETAILS ("GOOM: what a GOOM!",
+    "Visualization",
+    "Takes frames of data and outputs video frames using the GOOM filter",
+    "Wim Taymans <wim.taymans@chello.be>");
 
 /* signals and args */
 enum
index e7496e2..0d18045 100644 (file)
@@ -191,12 +191,11 @@ static void
 gst_alawdec_base_init (GstALawDecClass * klass)
 {
   GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
-  GstElementDetails alawdec_details = {
-    "A Law to PCM conversion",
-    "Codec/Decoder/Audio",
-    "Convert 8bit A law to 16bit PCM",
-    "Zaheer Abbas Merali <zaheerabbas at merali dot org>"
-  };
+  GstElementDetails alawdec_details =
+      GST_ELEMENT_DETAILS ("A Law audio decoder",
+      "Codec/Decoder/Audio",
+      "Convert 8bit A law to 16bit PCM",
+      "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
 
   gst_element_class_add_pad_template (element_class, alawdec_src_template);
   gst_element_class_add_pad_template (element_class, alawdec_sink_template);
index d5d5168..d2eef4c 100644 (file)
@@ -227,12 +227,11 @@ static void
 gst_alawenc_base_init (GstALawEncClass * klass)
 {
   GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
-  GstElementDetails alawenc_details = {
-    "PCM to A Law conversion",
-    "Codec/Encoder/Audio",
-    "Convert 16bit PCM to 8bit A law",
-    "Zaheer Abbas Merali <zaheerabbas at merali dot org>"
-  };
+  GstElementDetails alawenc_details =
+      GST_ELEMENT_DETAILS ("A Law audio encoder",
+      "Codec/Encoder/Audio",
+      "Convert 16bit PCM to 8bit A law",
+      "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
 
   gst_element_class_add_pad_template (element_class, alawenc_src_template);
   gst_element_class_add_pad_template (element_class, alawenc_sink_template);
index 5150935..607f570 100644 (file)
@@ -161,12 +161,11 @@ static void
 gst_mulawdec_base_init (GstMuLawDecClass * klass)
 {
   GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
-  GstElementDetails mulawdec_details = {
-    "Mu Law to PCM conversion",
-    "Codec/Decoder/Audio",
-    "Convert 8bit mu law to 16bit PCM",
-    "Zaheer Abbas Merali <zaheerabbas at merali dot org>"
-  };
+  GstElementDetails mulawdec_details =
+      GST_ELEMENT_DETAILS ("Mu Law audio decoder",
+      "Codec/Decoder/Audio",
+      "Convert 8bit mu law to 16bit PCM",
+      "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
 
   gst_element_class_add_pad_template (element_class, mulawdec_src_template);
   gst_element_class_add_pad_template (element_class, mulawdec_sink_template);
index f9e1ecc..67267a8 100644 (file)
@@ -161,12 +161,11 @@ static void
 gst_mulawenc_base_init (GstMuLawEncClass * klass)
 {
   GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
-  GstElementDetails mulawenc_details = {
-    "PCM to Mu Law conversion",
-    "Codec/Encoder/Audio",
-    "Convert 16bit PCM to 8bit mu law",
-    "Zaheer Abbas Merali <zaheerabbas at merali dot org>"
-  };
+  GstElementDetails mulawenc_details =
+      GST_ELEMENT_DETAILS ("Mu Law audio encoder",
+      "Codec/Encoder/Audio",
+      "Convert 16bit PCM to 8bit mu law",
+      "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
 
   gst_element_class_add_pad_template (element_class, mulawenc_src_template);
   gst_element_class_add_pad_template (element_class, mulawenc_sink_template);
index 270ba23..0d37f52 100644 (file)
 GST_DEBUG_CATEGORY (level_debug);
 #define GST_CAT_DEFAULT level_debug
 
-static GstElementDetails level_details = {
-  "Level",
-  "Filter/Analyzer/Audio",
-  "RMS/Peak/Decaying Peak Level messager for audio/raw",
-  "Thomas Vander Stichele <thomas at apestaart dot org>"
-};
+static GstElementDetails level_details = GST_ELEMENT_DETAILS ("Level",
+    "Filter/Analyzer/Audio",
+    "RMS/Peak/Decaying Peak Level messager for audio/raw",
+    "Thomas Vander Stichele <thomas at apestaart dot org>");
 
 static GstStaticPadTemplate sink_template_factory =
 GST_STATIC_PAD_TEMPLATE ("sink",
index 3882450..68f248a 100644 (file)
@@ -129,12 +129,11 @@ static void
 gst_matroska_demux_base_init (GstMatroskaDemuxClass * klass)
 {
   GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
-  static GstElementDetails gst_matroska_demux_details = {
-    "Matroska demuxer",
-    "Codec/Demuxer",
-    "Demuxes a Matroska Stream into video/audio/subtitles",
-    "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-  };
+  static GstElementDetails gst_matroska_demux_details =
+      GST_ELEMENT_DETAILS ("Matroska demuxer",
+      "Codec/Demuxer",
+      "Demuxes a Matroska Stream into video/audio/subtitles",
+      "Ronald Bultje <rbultje@ronald.bitfreak.net>");
 
   gst_element_class_add_pad_template (element_class, videosrctempl);
   gst_element_class_add_pad_template (element_class, audiosrctempl);
index 4c054f1..23774df 100644 (file)
@@ -166,12 +166,11 @@ static void
 gst_matroska_mux_base_init (gpointer g_class)
 {
   GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
-  static GstElementDetails gst_matroska_mux_details = {
-    "Matroska muxer",
-    "Codec/Muxer",
-    "Muxes video/audio/subtitle streams into a matroska stream",
-    "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-  };
+  static GstElementDetails gst_matroska_mux_details =
+      GST_ELEMENT_DETAILS ("Matroska muxer",
+      "Codec/Muxer",
+      "Muxes video/audio/subtitle streams into a matroska stream",
+      "Ronald Bultje <rbultje@ronald.bitfreak.net>");
 
   gst_element_class_add_pad_template (element_class,
       gst_static_pad_template_get (&videosink_templ));
index 3f09f08..448f06d 100644 (file)
 #include <gst/video/video.h>
 
 /* elementfactory information */
-static GstElementDetails median_details = {
-  "Median effect",
-  "Filter/Effect/Video",
-  "Apply a median filter to an image",
-  "Wim Taymans <wim.taymans@chello.be>"
-};
+static GstElementDetails median_details = GST_ELEMENT_DETAILS ("Median effect",
+    "Filter/Effect/Video",
+    "Apply a median filter to an image",
+    "Wim Taymans <wim.taymans@chello.be>");
 
 static GstStaticPadTemplate median_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
index 82d3cb7..54f3f1c 100644 (file)
@@ -69,12 +69,11 @@ GType gst_monoscope_get_type (void);
 
 
 /* elementfactory information */
-static GstElementDetails gst_monoscope_details = {
-  "Monoscope",
-  "Visualization",
-  "Displays a highly stabilised waveform of audio input",
-  "Richard Boulton <richard@tartarus.org>"
-};
+static GstElementDetails gst_monoscope_details =
+GST_ELEMENT_DETAILS ("Monoscope",
+    "Visualization",
+    "Displays a highly stabilised waveform of audio input",
+    "Richard Boulton <richard@tartarus.org>");
 
 /* signals and args */
 enum
index 7e25bf6..55a4266 100644 (file)
@@ -123,7 +123,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_multipart_demux_debug);
 
 /* elementfactory information */
 static GstElementDetails gst_multipart_demux_details =
-GST_ELEMENT_DETAILS ("multipart demuxer",
+GST_ELEMENT_DETAILS ("Multipart demuxer",
     "Codec/Demuxer",
     "demux multipart streams",
     "Wim Taymans <wim@fluendo.com>");
index 1057bd3..1f064fc 100644 (file)
@@ -102,7 +102,7 @@ struct _GstMultipartMuxClass
 
 /* elementfactory information */
 static GstElementDetails gst_multipart_mux_details =
-GST_ELEMENT_DETAILS ("multipart muxer",
+GST_ELEMENT_DETAILS ("Multipart muxer",
     "Codec/Muxer",
     "mux multipart streams",
     "Wim Taymans <wim@fluendo.com>");
index df722aa..d73bd6a 100644 (file)
@@ -46,7 +46,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_multifilesrc_debug);
 #define GST_CAT_DEFAULT gst_multifilesrc_debug
 
 GstElementDetails gst_multifilesrc_details =
-GST_ELEMENT_DETAILS ("Multi File Source",
+GST_ELEMENT_DETAILS ("Multi file source",
     "Source/File",
     "Read from multiple files in order",
     "Dominic Ludlam <dom@openfx.org>");
index 678551b..623b9a1 100644 (file)
@@ -50,7 +50,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
 GST_DEBUG_CATEGORY_STATIC (gst_pipefilter_debug);
 #define GST_CAT_DEFAULT gst_pipefilter_debug
 
-GstElementDetails gst_pipefilter_details = GST_ELEMENT_DETAILS ("Pipefilter",
+GstElementDetails gst_pipefilter_details = GST_ELEMENT_DETAILS ("Pipe filter",
     "Filter",
     "Interoperate with an external program using stdin and stdout",
     "Erik Walthinsen <omega@cse.ogi.edu>, "
index 3fe3326..c2a1233 100644 (file)
@@ -43,12 +43,11 @@ typedef struct _GstAsteriskH263Header
 #define GST_ASTERISKH263_HEADER_LENGTH(buf) (((GstAsteriskH263Header *)(GST_BUFFER_DATA (buf)))->length)
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_h263p_depaydetails = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts H263 video from RTP and encodes in Asterisk H263 format",
-  "Neil Stratford <neils@vipadia.com>"
-};
+static GstElementDetails gst_rtp_h263p_depaydetails =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts H263 video from RTP and encodes in Asterisk H263 format",
+    "Neil Stratford <neils@vipadia.com>");
 
 /* Asteriskh263 signals and args */
 enum
index 60e2bcd..d7a48dd 100644 (file)
 #include "gstrtp-common.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_L16depay_details = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts raw audio from RTP packets",
-  "Zeeshan Ali <zak147@yahoo.com>"
-};
+static GstElementDetails gst_rtp_L16depay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts raw audio from RTP packets",
+    "Zeeshan Ali <zak147@yahoo.com>");
 
 /* RtpL16Depay signals and args */
 enum
index 3f61d73..ce424fe 100644 (file)
 #include "gstrtpL16pay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtpL16pay_details = {
-  "RTP RAW Audio Payloader",
-  "Codec/Payloader/Network",
-  "Payload-encodes Raw Audio into a RTP packet",
-  "Zeeshan Ali <zak147@yahoo.com>"
-};
+static GstElementDetails gst_rtpL16pay_details =
+GST_ELEMENT_DETAILS ("RTP RAW audio payloader",
+    "Codec/Payloader/Network",
+    "Payload-encodes Raw Audio into a RTP packet",
+    "Zeeshan Ali <zak147@yahoo.com>");
 
 /* RtpL16Pay signals and args */
 enum
index 3eb08d3..9a4d7c9 100644 (file)
  */
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_amrdepay_details = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts AMR audio from RTP packets (RFC 3267)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_amrdepay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts AMR audio from RTP packets (RFC 3267)",
+    "Wim Taymans <wim@fluendo.com>");
 
 /* RtpAMRDepay signals and args */
 enum
index 27588d8..93dd5fb 100644 (file)
@@ -33,12 +33,11 @@ GST_DEBUG_CATEGORY (rtpamrpay_debug);
  */
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_amrpay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payload-encode AMR audio into RTP packets (RFC 3267)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_amrpay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payload-encode AMR audio into RTP packets (RFC 3267)",
+    "Wim Taymans <wim@fluendo.com>");
 
 static GstStaticPadTemplate gst_rtp_amr_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index 531f871..9b114aa 100644 (file)
@@ -25,7 +25,7 @@ GST_DEBUG_CATEGORY (rtpdepay_debug);
 
 /* elementfactory information */
 static GstElementDetails rtpdepay_details =
-GST_ELEMENT_DETAILS ("RTP Payloader",
+GST_ELEMENT_DETAILS ("RTP payloader",
     "Codec/Depayr/Network",
     "Accepts raw RTP and RTCP packets and sends them forward",
     "Wim Taymans <wim@fluendo.com>");
index 23e2a5f..0c324d3 100644 (file)
 #include "gstrtpgsmpay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_gsm_pay_details = {
-  "RTP GSM Audio Payloader",
-  "Codec/Payloader/Network",
-  "Payload-encodes GSM audio into a RTP packet",
-  "Zeeshan Ali <zeenix@gmail.com>"
-};
+static GstElementDetails gst_rtp_gsm_pay_details =
+GST_ELEMENT_DETAILS ("RTP GSM audio payloader",
+    "Codec/Payloader/Network",
+    "Payload-encodes GSM audio into a RTP packet",
+    "Zeeshan Ali <zeenix@gmail.com>");
 
 static GstStaticPadTemplate gst_rtp_gsm_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index 7847772..45b96ce 100644 (file)
@@ -139,12 +139,11 @@ typedef struct _GstH263PictureLayer
 
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_h263pay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payload-encodes H263 video in RTP packets (RFC 2190)",
-  "Neil Stratford <neils@vipadia.com>"
-};
+static GstElementDetails gst_rtp_h263pay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payload-encodes H263 video in RTP packets (RFC 2190)",
+    "Neil Stratford <neils@vipadia.com>");
 
 static GstStaticPadTemplate gst_rtp_h263_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index 8afb499..d4003c7 100644 (file)
 #include "gstrtph263pdepay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_h263pdepay_details = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts H263+ video from RTP packets (RFC 2429)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_h263pdepay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts H263+ video from RTP packets (RFC 2429)",
+    "Wim Taymans <wim@fluendo.com>");
 
 /* RtpH263PDepay signals and args */
 enum
index c35de19..532b4a6 100644 (file)
 #include "gstrtph263ppay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_h263ppay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payload-encodes H263+ video in RTP packets (RFC 2429)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_h263ppay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payload-encodes H263+ video in RTP packets (RFC 2429)",
+    "Wim Taymans <wim@fluendo.com>");
 
 static GstStaticPadTemplate gst_rtp_h263p_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index d1e5efe..36b955a 100644 (file)
@@ -26,12 +26,11 @@ GST_DEBUG_CATEGORY (rtpmp4gpay_debug);
 #define GST_CAT_DEFAULT (rtpmp4gpay_debug)
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_mp4gpay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payload MPEG4 elementary streams as RTP packets (RFC 3640)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_mp4gpay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payload MPEG4 elementary streams as RTP packets (RFC 3640)",
+    "Wim Taymans <wim@fluendo.com>");
 
 static GstStaticPadTemplate gst_rtp_mp4g_pay_sink_template =
     GST_STATIC_PAD_TEMPLATE ("sink",
index 3582a30..a9ac441 100644 (file)
 #include "gstrtpmp4vdepay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_mp4vdepay_details = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts MPEG4 video from RTP packets (RFC 3016)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_mp4vdepay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts MPEG4 video from RTP packets (RFC 3016)",
+    "Wim Taymans <wim@fluendo.com>");
 
 /* RtpMP4VDepay signals and args */
 enum
index f08f10f..59dae81 100644 (file)
@@ -26,12 +26,11 @@ GST_DEBUG_CATEGORY (rtpmp4vpay_debug);
 #define GST_CAT_DEFAULT (rtpmp4vpay_debug)
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_mp4vpay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payode MPEG4 video as RTP packets (RFC 3016)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_mp4vpay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payode MPEG4 video as RTP packets (RFC 3016)",
+    "Wim Taymans <wim@fluendo.com>");
 
 static GstStaticPadTemplate gst_rtp_mp4v_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index 046efe9..822a3d3 100644 (file)
 #include "gstrtpmpadepay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_mpadepay_details = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts MPEG audio from RTP packets (RFC 2038)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_mpadepay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts MPEG audio from RTP packets (RFC 2038)",
+    "Wim Taymans <wim@fluendo.com>");
 
 /* RtpMPADepay signals and args */
 enum
index 0979d3f..1e60bb7 100644 (file)
 #include "gstrtpmpapay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_mpapay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payode MPEG audio as RTP packets (RFC 2038)",
-  "Wim Taymans <wim@fluendo.com>"
-};
+static GstElementDetails gst_rtp_mpapay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payode MPEG audio as RTP packets (RFC 2038)",
+    "Wim Taymans <wim@fluendo.com>");
 
 static GstStaticPadTemplate gst_rtp_mpa_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index d01a312..2694ae6 100644 (file)
 #include "gstrtppcmadepay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_pcmadepay_details = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts PCMA audio from RTP packets",
-  "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>"
-};
+static GstElementDetails gst_rtp_pcmadepay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts PCMA audio from RTP packets",
+    "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>");
 
 /* RtpPcmaDepay signals and args */
 enum
index bb99e70..b4526ce 100644 (file)
 #include "gstrtppcmapay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_pcma_pay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payload-encodes PCMA audio into a RTP packet",
-  "Edgard Lima <edgard.lima@indt.org.br>"
-};
+static GstElementDetails gst_rtp_pcma_pay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payload-encodes PCMA audio into a RTP packet",
+    "Edgard Lima <edgard.lima@indt.org.br>");
 
 static GstStaticPadTemplate gst_rtp_pcma_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index 0de704c..fd02ee3 100644 (file)
 #include "gstrtppcmudepay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_pcmudepay_details = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts PCMU audio from RTP packets",
-  "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>"
-};
+static GstElementDetails gst_rtp_pcmudepay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts PCMU audio from RTP packets",
+    "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>");
 
 /* RtpPcmuDepay signals and args */
 enum
index 67c4020..2ddbc43 100644 (file)
 #include "gstrtppcmupay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_pcmu_pay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payload-encodes PCMU audio into a RTP packet",
-  "Edgard Lima <edgard.lima@indt.org.br>"
-};
+static GstElementDetails gst_rtp_pcmu_pay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payload-encodes PCMU audio into a RTP packet",
+    "Edgard Lima <edgard.lima@indt.org.br>");
 
 static GstStaticPadTemplate gst_rtp_pcmu_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index c0ff29b..5858596 100644 (file)
 #include "gstrtpspeexdepay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_speexdepay_details = {
-  "RTP packet parser",
-  "Codec/Depayr/Network",
-  "Extracts Speex audio from RTP packets",
-  "Edgard Lima <edgard.lima@indt.org.br>"
-};
+static GstElementDetails gst_rtp_speexdepay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Depayr/Network",
+    "Extracts Speex audio from RTP packets",
+    "Edgard Lima <edgard.lima@indt.org.br>");
 
 /* RtpSPEEXDepay signals and args */
 enum
index ac4a374..e954a2c 100644 (file)
 #include "gstrtpspeexpay.h"
 
 /* elementfactory information */
-static GstElementDetails gst_rtp_speex_pay_details = {
-  "RTP packet parser",
-  "Codec/Payloader/Network",
-  "Payload-encodes Speex audio into a RTP packet",
-  "Edgard Lima <edgard.lima@indt.org.br>"
-};
+static GstElementDetails gst_rtp_speex_pay_details =
+GST_ELEMENT_DETAILS ("RTP packet parser",
+    "Codec/Payloader/Network",
+    "Payload-encodes Speex audio into a RTP packet",
+    "Edgard Lima <edgard.lima@indt.org.br>");
 
 static GstStaticPadTemplate gst_rtp_speex_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
index 02cafb9..cf08f1e 100644 (file)
 #include "paint.h"
 
 /* elementfactory information */
-static GstElementDetails smpte_details = {
-  "SMPTE transitions",
-  "Filter/Editor/Video",
-  "Apply the standard SMPTE transitions on video images",
-  "Wim Taymans <wim.taymans@chello.be>"
-};
+static GstElementDetails smpte_details =
+GST_ELEMENT_DETAILS ("SMPTE transitions",
+    "Filter/Editor/Video",
+    "Apply the standard SMPTE transitions on video images",
+    "Wim Taymans <wim.taymans@chello.be>");
 
 static GstStaticPadTemplate gst_smpte_src_template =
 GST_STATIC_PAD_TEMPLATE ("src",
index 85e023b..dc64474 100644 (file)
@@ -79,7 +79,7 @@ struct _GstVideoBoxClass
 
 /* elementfactory information */
 static GstElementDetails gst_video_box_details =
-GST_ELEMENT_DETAILS ("video box filter",
+GST_ELEMENT_DETAILS ("Video box filter",
     "Filter/Effect/Video",
     "Resizes a video by adding borders or cropping",
     "Wim Taymans <wim@fluendo.com>");
index fb47e4b..62a2181 100644 (file)
@@ -138,7 +138,7 @@ static void
 gst_gamma_base_init (gpointer g_class)
 {
   static GstElementDetails gamma_details =
-      GST_ELEMENT_DETAILS ("Video Gamma Correction",
+      GST_ELEMENT_DETAILS ("Video gamma correction",
       "Filter/Effect/Video",
       "Adjusts gamma on a video stream",
       "Arwed v. Merkatz <v.merkatz@gmx.net");
index 58d098e..deb3a55 100644 (file)
@@ -57,7 +57,7 @@
 #include <gst/interfaces/colorbalance.h>
 
 static GstElementDetails video_balance_details =
-GST_ELEMENT_DETAILS ("Video Balance Control",
+GST_ELEMENT_DETAILS ("Video balance",
     "Filter/Effect/Video",
     "Adjusts brightness, contrast, hue, saturation on a video stream",
     "David Schleef <ds@schleef.org>");
index e3e22e6..5bcb95e 100644 (file)
@@ -64,7 +64,7 @@ GST_DEBUG_CATEGORY (video_flip_debug);
 #define GST_CAT_DEFAULT video_flip_debug
 
 static GstElementDetails video_flip_details =
-GST_ELEMENT_DETAILS ("Video Flipper",
+GST_ELEMENT_DETAILS ("Video flipper",
     "Filter/Effect/Video",
     "Flips and rotates video",
     "David Schleef <ds@schleef.org>");
index ac0b3e6..9541433 100644 (file)
@@ -119,7 +119,7 @@ static void
 gst_videotemplate_base_init (gpointer g_class)
 {
   static GstElementDetails videotemplate_details =
-      GST_ELEMENT_DETAILS ("Video Filter Template",
+      GST_ELEMENT_DETAILS ("Video filter template",
       "Filter/Effect/Video",
       "Template for a video filter",
       "David Schleef <ds@schleef.org>");
index 03f685a..b1cf4a5 100644 (file)
@@ -399,7 +399,7 @@ gst_videomixer_pad_init (GstVideoMixerPad * mixerpad)
 
 /* elementfactory information */
 static GstElementDetails gst_videomixer_details =
-GST_ELEMENT_DETAILS ("video mixer",
+GST_ELEMENT_DETAILS ("Video mixer",
     "Filter/Editor/Video",
     "Mix multiple video streams",
     "Wim Taymans <wim@fluendo.com>");
index 6b2fb97..f2eff53 100644 (file)
@@ -70,7 +70,7 @@ struct wave_header
 };
 
 static GstElementDetails gst_wavenc_details =
-GST_ELEMENT_DETAILS ("WAV encoder",
+GST_ELEMENT_DETAILS ("WAV audio muxer",
     "Codec/Muxer/Audio",
     "Encode raw audio into WAV",
     "Iain Holmes <iain@prettypeople.org>");
index a6aac5c..2fa63f6 100644 (file)
@@ -157,7 +157,7 @@ gst_wavparse_base_init (gpointer g_class)
   GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
   GstPadTemplate *templ;
   static GstElementDetails gst_wavparse_details =
-      GST_ELEMENT_DETAILS (".wav demuxer",
+      GST_ELEMENT_DETAILS ("WAV audio demuxer",
       "Codec/Demuxer/Audio",
       "Parse a .wav file into raw audio",
       "Erik Walthinsen <omega@cse.ogi.edu>");