summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/amrwb/gstamrwbdec.c11
-rw-r--r--ext/amrwb/gstamrwbenc.c11
-rw-r--r--ext/amrwb/gstamrwbparse.c11
-rw-r--r--ext/arts/gst_arts.c12
-rw-r--r--ext/artsd/gstartsdsink.c11
-rw-r--r--ext/audiofile/gstafparse.c11
-rw-r--r--ext/audiofile/gstafsink.c10
-rw-r--r--ext/audiofile/gstafsrc.c11
-rw-r--r--ext/cdaudio/gstcdaudio.c10
-rw-r--r--ext/directfb/dfbvideosink.c2
-rw-r--r--ext/divx/gstdivxdec.c11
-rw-r--r--ext/divx/gstdivxenc.c11
-rw-r--r--ext/dts/gstdtsdec.c11
-rw-r--r--ext/faac/gstfaac.c10
-rw-r--r--ext/faad/gstfaad.c11
-rw-r--r--ext/gsm/gstgsmdec.c10
-rw-r--r--ext/gsm/gstgsmenc.c10
-rw-r--r--ext/hermes/gsthermescolorspace.c11
-rw-r--r--ext/ivorbis/vorbisfile.c15
-rw-r--r--ext/lcs/gstcolorspace.c11
-rw-r--r--ext/libfame/gstlibfame.c11
-rw-r--r--ext/libmms/gstmms.c11
-rw-r--r--ext/musicbrainz/gsttrm.c11
-rw-r--r--ext/nas/nassink.c13
-rw-r--r--ext/neon/gstneonhttpsrc.c4
-rw-r--r--ext/polyp/polypsink.c11
-rw-r--r--ext/sdl/sdlaudiosink.c2
-rw-r--r--ext/sdl/sdlvideosink.c15
-rw-r--r--ext/shout/gstshout.c11
-rw-r--r--ext/snapshot/gstsnapshot.c10
-rw-r--r--ext/sndfile/gstsf.c22
-rw-r--r--ext/tarkin/gsttarkindec.c11
-rw-r--r--ext/tarkin/gsttarkinenc.c11
-rw-r--r--ext/theora/theoradec.c4
-rw-r--r--ext/wavpack/gstwavpackdec.c11
-rw-r--r--ext/wavpack/gstwavpackparse.c14
-rw-r--r--ext/xvid/gstxviddec.c11
-rw-r--r--ext/xvid/gstxvidenc.c11
38 files changed, 181 insertions, 224 deletions
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 <renato.filho@indt.org.br>"
-};
+static GstElementDetails gst_amrwbdec_details =
+GST_ELEMENT_DETAILS ("AMR-WB audio decoder",
+ "Codec/Decoder/Audio",
+ "Adaptive Multi-Rate Wideband audio decoder",
+ "Renato Araujo <renato.filho@indt.org.br>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
diff --git a/ext/amrwb/gstamrwbenc.c b/ext/amrwb/gstamrwbenc.c
index 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 <renato.filho@indt.org.br>"
-};
+static GstElementDetails gst_amrwbenc_details =
+GST_ELEMENT_DETAILS ("AMR-WB audio encoder",
+ "Codec/Encoder/Audio",
+ "Adaptive Multi-Rate Wideband audio encoder",
+ "Renato Araujo <renato.filho@indt.org.br>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
diff --git a/ext/amrwb/gstamrwbparse.c b/ext/amrwb/gstamrwbparse.c
index 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 <renato.filho@indt.org.br>"
-};
+static GstElementDetails gst_amrwbparse_details =
+GST_ELEMENT_DETAILS ("AMR-WB parser",
+ "Codec/Parser/Audio",
+ "Adaptive Multi-Rate WideBand audio parser",
+ "Renato Filho <renato.filho@indt.org.br>");
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
diff --git a/ext/arts/gst_arts.c b/ext/arts/gst_arts.c
index 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 <omega@temple-baptist.com,\n"
- "Stefan Westerfeld <stefan@space.twc.de>",
-};
+static GstElementDetails gst_arts_details = GST_ELEMENT_DETAILS ("aRts plugin",
+ "Filter/Audio",
+ "aRts wrapper filter",
+ "Erik Walthinsen <omega@temple-baptist.com,\n"
+ "Stefan Westerfeld <stefan@space.twc.de>");
static GstStaticPadTemplate sink_temp = GST_STATIC_PAD_TEMPLATE ("sink",
diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c
index 6caf42ec..cfc8a382 100644
--- a/ext/artsd/gstartsdsink.c
+++ b/ext/artsd/gstartsdsink.c
@@ -27,12 +27,11 @@
#include <gst/audio/audio.h>
/* elementfactory information */
-static GstElementDetails artsdsink_details = {
- "aRtsd audio sink",
- "Sink/Audio",
- "Plays audio to an aRts server",
- "Richard Boulton <richard-gst@tartarus.org>",
-};
+static GstElementDetails artsdsink_details =
+GST_ELEMENT_DETAILS ("aRtsd audio sink",
+ "Sink/Audio",
+ "Plays audio to an aRts server",
+ "Richard Boulton <richard-gst@tartarus.org>",);
/* Signals and args */
enum
diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c
index 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 <stevebaker_org@yahoo.co.uk>",
-};
+static GstElementDetails afparse_details =
+GST_ELEMENT_DETAILS ("Audiofile demuxer",
+ "Codec/Demuxer/Audio",
+ "Audiofile parser for audio/raw",
+ "Steve Baker <stevebaker_org@yahoo.co.uk>");
/* AFParse signals and args */
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index 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 <thomas@apestaart.org>",
-};
+static GstElementDetails afsink_details = GST_ELEMENT_DETAILS ("Audiofile sink",
+ "Sink/Audio",
+ "Write audio streams to disk using libaudiofile",
+ "Thomas Vander Stichele <thomas@apestaart.org>");
/* AFSink signals and args */
diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c
index 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 <thomas@apestaart.org>",
-};
+static GstElementDetails afsrc_details =
+GST_ELEMENT_DETAILS ("Audiofile source",
+ "Source/Audio",
+ "Read audio files from disk using libaudiofile",
+ "Thomas <thomas@apestaart.org>");
/* AFSrc signals and args */
diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c
index 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 <wim@fluendo.com>",
-};
+static GstElementDetails gst_cdaudio_details = GST_ELEMENT_DETAILS ("CD player",
+ "Generic/Bin",
+ "Play CD audio through the CD Drive",
+ "Wim Taymans <wim@fluendo.com>");
static void
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c
index 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 <julien@moutte.net>");
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 <gst/video/video.h>
/* elementfactory information */
-GstElementDetails gst_divxdec_details = {
- "Divx4linux decoder",
- "Codec/Decoder/Video",
- "Divx decoder based on divxdecore",
- "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-};
+GstElementDetails gst_divxdec_details =
+GST_ELEMENT_DETAILS ("Divx4linux video decoder",
+ "Codec/Decoder/Video",
+ "Divx decoder based on divxdecore",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c
index 5269e01e..edb5172b 100644
--- a/ext/divx/gstdivxenc.c
+++ b/ext/divx/gstdivxenc.c
@@ -27,12 +27,11 @@
#include <encore2.h>
/* elementfactory information */
-GstElementDetails gst_divxenc_details = {
- "Divx4linux encoder",
- "Codec/Encoder/Video",
- "Divx encoder based on divxencore",
- "Ronald Bultje <rbultje@ronald.bitfreak.net>"
-};
+GstElementDetails gst_divxenc_details =
+GST_ELEMENT_DETAILS ("Divx4linux video encoder",
+ "Codec/Encoder/Video",
+ "Divx encoder based on divxencore",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index 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 <rbultje@ronald.bitfreak.net>"
- };
+ static GstElementDetails gst_dtsdec_details =
+ GST_ELEMENT_DETAILS ("DTS audio decoder",
+ "Codec/Decoder/Audio",
+ "Decodes DTS audio streams",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index 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 <rbultje@ronald.bitfreak.net>",
- };
+ GstElementDetails gst_faac_details = GST_ELEMENT_DETAILS ("AAC audio encoder",
+ "Codec/Encoder/Audio",
+ "Free MPEG-2/4 AAC encoder",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class,
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 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 <rbultje@ronald.bitfreak.net>"
-};
+static GstElementDetails faad_details =
+GST_ELEMENT_DETAILS ("AAC audio decoder",
+ "Codec/Decoder/Audio",
+ "Free MPEG-2/4 AAC decoder",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c
index 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 <burger@speedy.org>",
-};
+GstElementDetails gst_gsmdec_details = GST_ELEMENT_DETAILS ("GSM audio decoder",
+ "Codec/Decoder/Audio",
+ "Decodes GSM encoded audio",
+ "Philippe Khalaf <burger@speedy.org>");
/* GSMDec signals and args */
enum
diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c
index 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 <burger@speedy.org>",
-};
+GstElementDetails gst_gsmenc_details = GST_ELEMENT_DETAILS ("GSM audio encoder",
+ "Codec/Encoder/Audio",
+ "Encodes GSM audio",
+ "Philippe Khalaf <burger@speedy.org>");
/* GSMEnc signals and args */
enum
diff --git a/ext/hermes/gsthermescolorspace.c b/ext/hermes/gsthermescolorspace.c
index 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 <wim.taymans@chello.be>",
-};
+static GstElementDetails colorspace_details =
+GST_ELEMENT_DETAILS ("Colorspace converter",
+ "Filter/Converter/Video",
+ "Converts video from one colorspace to another using libhermes",
+ "Wim Taymans <wim.taymans@chello.be>");
/* Stereo signals and args */
diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c
index 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 <monty@xiph.org>\n"
- "Wim Taymans <wim.taymans@chello.be>\n"
- "Amaury Jacquot <sxpert@esitcom.org>",
-};
+GstElementDetails ivorbisfile_details =
+GST_ELEMENT_DETAILS ("Ogg Vorbis audio decoder",
+ "Codec/Decoder/Audio",
+ "Decodes OGG Vorbis audio using the Tremor vorbisfile API",
+ "Monty <monty@xiph.org>\n"
+ "Wim Taymans <wim.taymans@chello.be>\n"
+ "Amaury Jacquot <sxpert@esitcom.org>");
/* Ivorbisfile signals and args */
enum
diff --git a/ext/lcs/gstcolorspace.c b/ext/lcs/gstcolorspace.c
index 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 <wim.taymans@chello.be>"
-};
+static GstElementDetails colorspace_details =
+GST_ELEMENT_DETAILS ("Colorspace converter",
+ "Filter/Effect",
+ "Converts video from one colorspace to another",
+ "Wim Taymans <wim.taymans@chello.be>");
/* Stereo signals and args */
diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c
index 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 <thomas@apestaart.org>"
-};
+static GstElementDetails gst_fameenc_details =
+GST_ELEMENT_DETAILS ("MPEG-1 and MPEG-4 video encoder",
+ "Codec/Encoder/Video",
+ "Uses fameenc to encode MPEG video streams",
+ "Thomas Vander Stichele <thomas@apestaart.org>");
static GQuark fame_object_name;
diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c
index 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 <mathrick@users.sourceforge.net>"
- };
+ static GstElementDetails plugin_details =
+ GST_ELEMENT_DETAILS ("MMS streaming source",
+ "Source/Network",
+ "Receive data streamed via MSFT Multi Media Server protocol",
+ "Maciej Katafiasz <mathrick@users.sourceforge.net>");
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
diff --git a/ext/musicbrainz/gsttrm.c b/ext/musicbrainz/gsttrm.c
index 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 <jsimon13@yahoo.fr>",
- };
+ GstElementDetails gst_musicbrainz_details =
+ GST_ELEMENT_DETAILS ("Musicbrainz TRM generator",
+ "Filter/Analyzer/Audio",
+ "Compute TRM Id from muscibrainz",
+ "Jeremy Simon <jsimon13@yahoo.fr>");
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class,
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index 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 <Laurent.Vivier@bull.net>, "
- "Arwed v. Merkatz <v.merkatz@gmx.net>"
- };
+ static GstElementDetails nassink_details =
+ GST_ELEMENT_DETAILS ("NAS audio sink",
+ "Sink/Audio",
+ "Plays audio to a Network Audio Server",
+ "Laurent Vivier <Laurent.Vivier@bull.net>, "
+ "Arwed v. Merkatz <v.merkatz@gmx.net>");
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index 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 <edgard.lima@indt.org.br>");
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
diff --git a/ext/polyp/polypsink.c b/ext/polyp/polypsink.c
index 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 <edgard.lima@indt.org.br>");
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 <rbultje@ronald.bitfreak.net>"
- "Edgard Lima <edgard.lima@indt.org.br>"
- "Jan Schmidt <thaytan@mad.scientist.com>"
-};
+static GstElementDetails gst_sdlvideosink_details =
+GST_ELEMENT_DETAILS ("SDL video sink",
+ "Sink/Video",
+ "An SDL-based videosink",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>"
+ "Edgard Lima <edgard.lima@indt.org.br>"
+ "Jan Schmidt <thaytan@mad.scientist.com>");
enum
diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c
index 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 <wim.taymans@chello.be>"
-};
+static GstElementDetails icecastsend_details =
+GST_ELEMENT_DETAILS ("Icecast network sink",
+ "Sink/Network",
+ "Sends data to an icecast server using libshout",
+ "Wim Taymans <wim.taymans@chello.be>");
static char *SHOUT_ERRORS[] = {
"ok",
diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c
index 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 <jsimon13@yahoo.fr>",
-};
+static GstElementDetails snapshot_details = GST_ELEMENT_DETAILS ("Snapshot",
+ "Filter/Editor/Video",
+ "Dump a frame to a png file",
+ "Jeremy SIMON <jsimon13@yahoo.fr>");
static GstStaticPadTemplate snapshot_src_factory =
GST_STATIC_PAD_TEMPLATE ("src",
diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c
index 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 <wingo at pobox dot com>",
-};
-
-static GstElementDetails sfsink_details = {
- "Sndfile Sink",
- "Sink/Audio",
- "Write audio streams to disk using libsndfile",
- "Andy Wingo <wingo at pobox dot com>",
-};
+static GstElementDetails sfsrc_details = GST_ELEMENT_DETAILS ("Sndfile source",
+ "Source/Audio",
+ "Read audio streams from disk using libsndfile",
+ "Andy Wingo <wingo at pobox dot com>");
+
+static GstElementDetails sfsink_details = GST_ELEMENT_DETAILS ("Sndfile sink",
+ "Sink/Audio",
+ "Write audio streams to disk using libsndfile",
+ "Andy Wingo <wingo at pobox dot com>");
enum
{
diff --git a/ext/tarkin/gsttarkindec.c b/ext/tarkin/gsttarkindec.c
index 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 <monty@xiph.org>, " "Wim Taymans <wim.taymans@chello.be>",
-};
+GstElementDetails tarkindec_details =
+GST_ELEMENT_DETAILS ("Tarkin video decoder",
+ "Codec/Decoder/Video",
+ "Decodes video in OGG Tarkin format",
+ "Monty <monty@xiph.org>, " "Wim Taymans <wim.taymans@chello.be>");
/* TarkinDec signals and args */
enum
diff --git a/ext/tarkin/gsttarkinenc.c b/ext/tarkin/gsttarkinenc.c
index 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 <monty@xiph.org>, " "Wim Taymans <wim.taymans@chello.be>",
-};
+GstElementDetails tarkinenc_details =
+GST_ELEMENT_DETAILS ("Tarkin video encoder",
+ "Codec/Encoder/Video",
+ "Encodes video in OGG Tarkin format",
+ "Monty <monty@xiph.org>, " "Wim Taymans <wim.taymans@chello.be>");
/* TarkinEnc signals and args */
enum
diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c
index 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 <in7y118@public.uni-hamburg.de>, "
"Wim Taymans <wim@fluendo.com>, " "Michael Smith <msmith@fluendo,com>");
diff --git a/ext/wavpack/gstwavpackdec.c b/ext/wavpack/gstwavpackdec.c
index 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 <v.merkatz@gmx.net>"
- };
+ static GstElementDetails plugin_details =
+ GST_ELEMENT_DETAILS ("WavePack audio decoder",
+ "Codec/Decoder/Audio",
+ "Decode Wavpack audio data",
+ "Arwed v. Merkatz <v.merkatz@gmx.net>");
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class,
diff --git a/ext/wavpack/gstwavpackparse.c b/ext/wavpack/gstwavpackparse.c
index 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 <v.merkatz@gmx.net>"
- };
+ static GstElementDetails plugin_details =
+ GST_ELEMENT_DETAILS ("WavePack parser",
+ "Codec/Demuxer/Audio",
+ "Parses Wavpack files",
+ "Arwed v. Merkatz <v.merkatz@gmx.net>");
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class,
@@ -332,7 +331,8 @@ gst_wavpack_parse_scan_to_find_sample (GstWavpackParse * parse,
/* now scan forward until we find the chunk we're looking for or hit EOS */
do {
WavpackHeader header = { {0,}
- , 0, };
+ , 0,
+ };
GstBuffer *buf;
buf = gst_wavpack_parse_pull_buffer (parse, off, sizeof (WavpackHeader),
diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c
index 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 <rbultje@ronald.bitfreak.net>",
-};
+GstElementDetails gst_xviddec_details =
+GST_ELEMENT_DETAILS ("XviD video decoder",
+ "Codec/Decoder/Video",
+ "XviD decoder based on xvidcore",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index 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 <rbultje@ronald.bitfreak.net>",
-};
+GstElementDetails gst_xvidenc_details =
+GST_ELEMENT_DETAILS ("XviD video encoder",
+ "Codec/Encoder/Video",
+ "XviD encoder based on xvidcore",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,