summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog94
-rw-r--r--ext/amrwb/gstamrwbdec.c2
-rw-r--r--ext/amrwb/gstamrwbenc.c2
-rw-r--r--ext/amrwb/gstamrwbparse.c2
-rw-r--r--ext/arts/gst_arts.c3
-rw-r--r--ext/artsd/gstartsdsink.c2
-rw-r--r--ext/audiofile/gstafparse.c2
-rw-r--r--ext/audiofile/gstafsink.c3
-rw-r--r--ext/audiofile/gstafsrc.c2
-rw-r--r--ext/audioresample/gstaudioresample.c2
-rw-r--r--ext/bz2/gstbz2dec.c3
-rw-r--r--ext/bz2/gstbz2enc.c3
-rw-r--r--ext/cdaudio/gstcdaudio.c3
-rw-r--r--ext/directfb/dfbvideosink.c2
-rw-r--r--ext/divx/gstdivxdec.c2
-rw-r--r--ext/divx/gstdivxenc.c2
-rw-r--r--ext/dts/gstdtsdec.c11
-rw-r--r--ext/faac/gstfaac.c10
-rw-r--r--ext/faad/gstfaad.c2
-rw-r--r--ext/gsm/gstgsmdec.c3
-rw-r--r--ext/gsm/gstgsmenc.c3
-rw-r--r--ext/hermes/gsthermescolorspace.c2
-rw-r--r--ext/ivorbis/vorbisfile.c2
-rw-r--r--ext/lcs/gstcolorspace.c2
-rw-r--r--ext/libfame/gstlibfame.c2
-rw-r--r--ext/libmms/gstmms.c11
-rw-r--r--ext/musepack/gstmusepackdec.c11
-rw-r--r--ext/musicbrainz/gsttrm.c2
-rw-r--r--ext/nas/nassink.c2
-rw-r--r--ext/neon/gstneonhttpsrc.c2
-rw-r--r--ext/sdl/sdlaudiosink.c2
-rw-r--r--ext/sdl/sdlvideosink.c2
-rw-r--r--ext/shout/gstshout.c2
-rw-r--r--ext/snapshot/gstsnapshot.c3
-rw-r--r--ext/sndfile/gstsf.c6
-rw-r--r--ext/swfdec/gstswfdec.c2
-rw-r--r--ext/tarkin/gsttarkindec.c2
-rw-r--r--ext/tarkin/gsttarkinenc.c2
-rw-r--r--ext/theora/theoradec.c2
-rw-r--r--ext/wavpack/gstwavpackdec.c2
-rw-r--r--ext/wavpack/gstwavpackparse.c7
-rw-r--r--ext/xvid/gstxviddec.c2
-rw-r--r--ext/xvid/gstxvidenc.c2
-rw-r--r--gst/cdxaparse/gstcdxaparse.c2
-rw-r--r--gst/cdxaparse/gstcdxastrip.c2
-rw-r--r--gst/cdxaparse/gstvcdparse.c2
-rw-r--r--gst/chart/gstchart.c2
-rw-r--r--gst/colorspace/gstcolorspace.c2
-rw-r--r--gst/deinterlace/gstdeinterlace.c2
-rw-r--r--gst/equalizer/gstiirequalizer.c2
-rw-r--r--gst/festival/gstfestival.c2
-rw-r--r--gst/filter/gstbpwsinc.c3
-rw-r--r--gst/filter/gstiir.c2
-rw-r--r--gst/filter/gstlpwsinc.c2
-rw-r--r--gst/freeze/gstfreeze.c3
-rw-r--r--gst/games/gstpuzzle.c2
-rw-r--r--gst/librfb/gstrfbsrc.c75
-rw-r--r--gst/mixmatrix/mixmatrix.c2
-rw-r--r--gst/mpeg1sys/gstmpeg1systemencode.c2
-rw-r--r--gst/mpeg1videoparse/gstmp1videoparse.c2
-rw-r--r--gst/mpeg2sub/gstmpeg2subt.c2
-rw-r--r--gst/mpegaudioparse/gstmpegaudioparse.c2
-rw-r--r--gst/multifilesink/gstmultifilesink.c2
-rw-r--r--gst/overlay/gstoverlay.c3
-rw-r--r--gst/passthrough/gstpassthrough.c2
-rw-r--r--gst/playondemand/gstplayondemand.c2
-rw-r--r--gst/qtdemux/qtdemux.c2
-rw-r--r--gst/rtjpeg/gstrtjpegdec.c2
-rw-r--r--gst/rtjpeg/gstrtjpegenc.c2
-rw-r--r--gst/smooth/gstsmooth.c3
-rw-r--r--gst/smoothwave/gstsmoothwave.c2
-rw-r--r--gst/spectrum/gstspectrum.c2
-rw-r--r--gst/speed/gstspeed.c2
-rw-r--r--gst/stereo/gststereo.c3
-rw-r--r--gst/switch/gstswitch.c3
-rw-r--r--gst/tta/gstttadec.c2
-rw-r--r--gst/tta/gstttaparse.c2
-rw-r--r--gst/vbidec/gstvbidec.c2
-rw-r--r--gst/videocrop/gstvideocrop.c3
-rw-r--r--gst/videodrop/gstvideodrop.c2
-rw-r--r--gst/virtualdub/gstxsharpen.c3
-rw-r--r--gst/xingheader/gstxingmux.c2
-rw-r--r--gst/y4m/gsty4mencode.c2
-rw-r--r--sys/cdrom/gstcdplayer.c3
-rw-r--r--sys/directdraw/gstdirectdrawsink.c2
-rw-r--r--sys/directsound/gstdirectsoundsink.c2
-rw-r--r--sys/glsink/glimagesink.c2
-rw-r--r--sys/qcam/gstqcamsrc.c2
-rw-r--r--sys/v4l2/gstv4l2src.c2
-rw-r--r--sys/vcd/vcdsrc.c2
-rw-r--r--sys/ximagesrc/ximagesrc.c2
91 files changed, 261 insertions, 147 deletions
diff --git a/ChangeLog b/ChangeLog
index a828bee7c..14464a170 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,97 @@
+2006-04-26 Stefan Kost <ensonic@users.sf.net>
+
+ * ext/amrwb/gstamrwbdec.c:
+ * ext/amrwb/gstamrwbenc.c:
+ * ext/amrwb/gstamrwbparse.c:
+ * ext/arts/gst_arts.c:
+ * ext/artsd/gstartsdsink.c:
+ * ext/audiofile/gstafparse.c:
+ * ext/audiofile/gstafsink.c:
+ * ext/audiofile/gstafsrc.c:
+ * ext/audioresample/gstaudioresample.c:
+ * ext/bz2/gstbz2dec.c:
+ * ext/bz2/gstbz2enc.c:
+ * ext/cdaudio/gstcdaudio.c:
+ * ext/directfb/dfbvideosink.c:
+ * ext/divx/gstdivxdec.c:
+ * ext/divx/gstdivxenc.c:
+ * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
+ * ext/faac/gstfaac.c: (gst_faac_base_init):
+ * ext/faad/gstfaad.c:
+ * ext/gsm/gstgsmdec.c:
+ * ext/gsm/gstgsmenc.c:
+ * ext/hermes/gsthermescolorspace.c:
+ * ext/ivorbis/vorbisfile.c:
+ * ext/lcs/gstcolorspace.c:
+ * ext/libfame/gstlibfame.c:
+ * ext/libmms/gstmms.c: (gst_mms_base_init):
+ * ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
+ * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
+ * ext/nas/nassink.c: (gst_nassink_base_init):
+ * ext/neon/gstneonhttpsrc.c:
+ * ext/sdl/sdlaudiosink.c:
+ * ext/sdl/sdlvideosink.c:
+ * ext/shout/gstshout.c:
+ * ext/snapshot/gstsnapshot.c:
+ * ext/sndfile/gstsf.c:
+ * ext/swfdec/gstswfdec.c:
+ * ext/tarkin/gsttarkindec.c:
+ * ext/tarkin/gsttarkinenc.c:
+ * ext/theora/theoradec.c:
+ * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
+ * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
+ * ext/xvid/gstxviddec.c:
+ * ext/xvid/gstxvidenc.c:
+ * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
+ * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
+ * gst/chart/gstchart.c:
+ * gst/colorspace/gstcolorspace.c:
+ * gst/deinterlace/gstdeinterlace.c:
+ * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
+ * gst/festival/gstfestival.c:
+ * gst/filter/gstbpwsinc.c:
+ * gst/filter/gstiir.c:
+ * gst/filter/gstlpwsinc.c:
+ * gst/freeze/gstfreeze.c:
+ * gst/games/gstpuzzle.c: (gst_puzzle_base_init):
+ * gst/librfb/gstrfbsrc.c:
+ * gst/mixmatrix/mixmatrix.c:
+ * gst/mpeg1sys/gstmpeg1systemencode.c:
+ * gst/mpeg1videoparse/gstmp1videoparse.c:
+ * gst/mpeg2sub/gstmpeg2subt.c:
+ * gst/mpegaudioparse/gstmpegaudioparse.c:
+ * gst/multifilesink/gstmultifilesink.c:
+ * gst/overlay/gstoverlay.c:
+ * gst/passthrough/gstpassthrough.c:
+ * gst/playondemand/gstplayondemand.c:
+ * gst/qtdemux/qtdemux.c:
+ * gst/rtjpeg/gstrtjpegdec.c:
+ * gst/rtjpeg/gstrtjpegenc.c:
+ * gst/smooth/gstsmooth.c:
+ * gst/smoothwave/gstsmoothwave.c:
+ * gst/spectrum/gstspectrum.c:
+ * gst/speed/gstspeed.c:
+ * gst/stereo/gststereo.c:
+ * gst/switch/gstswitch.c:
+ * gst/tta/gstttadec.c: (gst_tta_dec_base_init):
+ * gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
+ * gst/vbidec/gstvbidec.c:
+ * gst/videocrop/gstvideocrop.c:
+ * gst/videodrop/gstvideodrop.c:
+ * gst/virtualdub/gstxsharpen.c:
+ * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
+ * gst/y4m/gsty4mencode.c:
+ * sys/cdrom/gstcdplayer.c:
+ * sys/directdraw/gstdirectdrawsink.c:
+ * sys/directsound/gstdirectsoundsink.c:
+ * sys/glsink/glimagesink.c:
+ * sys/qcam/gstqcamsrc.c:
+ * sys/v4l2/gstv4l2src.c:
+ * sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
+ * sys/ximagesrc/ximagesrc.c:
+ Define GstElementDetails as const and also static (when defined as
+ global)
+
2006-04-20 Tim-Philipp Müller <tim at centricular dot net>
* ext/musepack/gstmusepackdec.c:
diff --git a/ext/amrwb/gstamrwbdec.c b/ext/amrwb/gstamrwbdec.c
index 1bab9f757..d0910c02f 100644
--- a/ext/amrwb/gstamrwbdec.c
+++ b/ext/amrwb/gstamrwbdec.c
@@ -23,7 +23,7 @@
#include "gstamrwbdec.h"
-static GstElementDetails gst_amrwbdec_details =
+static const GstElementDetails gst_amrwbdec_details =
GST_ELEMENT_DETAILS ("AMR-WB audio decoder",
"Codec/Decoder/Audio",
"Adaptive Multi-Rate Wideband audio decoder",
diff --git a/ext/amrwb/gstamrwbenc.c b/ext/amrwb/gstamrwbenc.c
index ced5c13b0..5ede732f5 100644
--- a/ext/amrwb/gstamrwbenc.c
+++ b/ext/amrwb/gstamrwbenc.c
@@ -23,7 +23,7 @@
#include "gstamrwbenc.h"
-static GstElementDetails gst_amrwbenc_details =
+static const GstElementDetails gst_amrwbenc_details =
GST_ELEMENT_DETAILS ("AMR-WB audio encoder",
"Codec/Encoder/Audio",
"Adaptive Multi-Rate Wideband audio encoder",
diff --git a/ext/amrwb/gstamrwbparse.c b/ext/amrwb/gstamrwbparse.c
index 1aa954be3..e1132b49f 100644
--- a/ext/amrwb/gstamrwbparse.c
+++ b/ext/amrwb/gstamrwbparse.c
@@ -31,7 +31,7 @@
GST_DEBUG_CATEGORY_STATIC (amrwbparse_debug);
#define GST_CAT_DEFAULT amrwbparse_debug
-static GstElementDetails gst_amrwbparse_details =
+static const GstElementDetails gst_amrwbparse_details =
GST_ELEMENT_DETAILS ("AMR-WB parser",
"Codec/Parser/Audio",
"Adaptive Multi-Rate WideBand audio parser",
diff --git a/ext/arts/gst_arts.c b/ext/arts/gst_arts.c
index bee180a6e..aa6c18666 100644
--- a/ext/arts/gst_arts.c
+++ b/ext/arts/gst_arts.c
@@ -43,7 +43,8 @@
#include "gst_artsio_impl.h"
/* elementfactory information */
-static GstElementDetails gst_arts_details = GST_ELEMENT_DETAILS ("aRts plugin",
+static const GstElementDetails gst_arts_details =
+GST_ELEMENT_DETAILS ("aRts plugin",
"Filter/Audio",
"aRts wrapper filter",
"Erik Walthinsen <omega@temple-baptist.com,\n"
diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c
index a811cf324..5cc2c8ad8 100644
--- a/ext/artsd/gstartsdsink.c
+++ b/ext/artsd/gstartsdsink.c
@@ -27,7 +27,7 @@
#include <gst/audio/audio.h>
/* elementfactory information */
-static GstElementDetails artsdsink_details =
+static const GstElementDetails artsdsink_details =
GST_ELEMENT_DETAILS ("aRtsd audio sink",
"Sink/Audio",
"Plays audio to an aRts server",
diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c
index fed9fa806..ca786a936 100644
--- a/ext/audiofile/gstafparse.c
+++ b/ext/audiofile/gstafparse.c
@@ -30,7 +30,7 @@
#include "gstafparse.h"
/* elementfactory information */
-static GstElementDetails afparse_details =
+static const GstElementDetails afparse_details =
GST_ELEMENT_DETAILS ("Audiofile demuxer",
"Codec/Demuxer/Audio",
"Audiofile parser for audio/raw",
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index ce6155b6f..a6103bf41 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -34,7 +34,8 @@
#include "gstafsink.h"
/* elementfactory information */
-static GstElementDetails afsink_details = GST_ELEMENT_DETAILS ("Audiofile sink",
+static const GstElementDetails afsink_details =
+GST_ELEMENT_DETAILS ("Audiofile sink",
"Sink/Audio",
"Write audio streams to disk using libaudiofile",
"Thomas Vander Stichele <thomas@apestaart.org>");
diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c
index 5850362bc..87558b77b 100644
--- a/ext/audiofile/gstafsrc.c
+++ b/ext/audiofile/gstafsrc.c
@@ -34,7 +34,7 @@
#include "gstafsrc.h"
/* elementfactory information */
-static GstElementDetails afsrc_details =
+static const GstElementDetails afsrc_details =
GST_ELEMENT_DETAILS ("Audiofile source",
"Source/Audio",
"Read audio files from disk using libaudiofile",
diff --git a/ext/audioresample/gstaudioresample.c b/ext/audioresample/gstaudioresample.c
index 9f19f36d6..acba8b3ec 100644
--- a/ext/audioresample/gstaudioresample.c
+++ b/ext/audioresample/gstaudioresample.c
@@ -34,7 +34,7 @@ GST_DEBUG_CATEGORY_STATIC (audioresample_debug);
#define GST_CAT_DEFAULT audioresample_debug
/* elementfactory information */
-static GstElementDetails gst_audioresample_details =
+static const GstElementDetails gst_audioresample_details =
GST_ELEMENT_DETAILS ("Audio scaler",
"Filter/Converter/Audio",
"Resample audio",
diff --git a/ext/bz2/gstbz2dec.c b/ext/bz2/gstbz2dec.c
index 6fab9f65b..b5501fd3c 100644
--- a/ext/bz2/gstbz2dec.c
+++ b/ext/bz2/gstbz2dec.c
@@ -27,7 +27,8 @@
GST_DEBUG_CATEGORY_STATIC (bz2dec_debug);
#define GST_CAT_DEFAULT bz2dec_debug
-static GstElementDetails bz2dec_details = GST_ELEMENT_DETAILS ("BZ2 decoder",
+static const GstElementDetails bz2dec_details =
+GST_ELEMENT_DETAILS ("BZ2 decoder",
"Codec/Decoder", "Decodes compressed streams",
"Lutz Mueller <lutz@users.sourceforge.net>");
diff --git a/ext/bz2/gstbz2enc.c b/ext/bz2/gstbz2enc.c
index 81a030b7f..e8bb2341f 100644
--- a/ext/bz2/gstbz2enc.c
+++ b/ext/bz2/gstbz2enc.c
@@ -27,7 +27,8 @@
GST_DEBUG_CATEGORY_STATIC (bz2enc_debug);
#define GST_CAT_DEFAULT bz2enc_debug
-static GstElementDetails bz2enc_details = GST_ELEMENT_DETAILS ("BZ2 encoder",
+static const GstElementDetails bz2enc_details =
+GST_ELEMENT_DETAILS ("BZ2 encoder",
"Codec/Encoder", "Compresses streams",
"Lutz Mueller <lutz@users.sourceforge.net>");
diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c
index dc4750192..bc5ee26ef 100644
--- a/ext/cdaudio/gstcdaudio.c
+++ b/ext/cdaudio/gstcdaudio.c
@@ -110,7 +110,8 @@ static GstFormat sector_format;
static GstBinClass *parent_class;
static guint gst_cdaudio_signals[LAST_SIGNAL] = { 0 };
-static GstElementDetails gst_cdaudio_details = GST_ELEMENT_DETAILS ("CD player",
+static const GstElementDetails gst_cdaudio_details =
+GST_ELEMENT_DETAILS ("CD player",
"Generic/Bin",
"Play CD audio through the CD Drive",
"Wim Taymans <wim@fluendo.com>");
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c
index fbbd19ce6..9c970598b 100644
--- a/ext/directfb/dfbvideosink.c
+++ b/ext/directfb/dfbvideosink.c
@@ -102,7 +102,7 @@ GST_DEBUG_CATEGORY (dfbvideosink_debug);
#define GST_CAT_DEFAULT dfbvideosink_debug
/* ElementFactory information */
-static GstElementDetails gst_dfbvideosink_details =
+static const GstElementDetails gst_dfbvideosink_details =
GST_ELEMENT_DETAILS ("DirectFB video sink",
"Sink/Video",
"A DirectFB based videosink",
diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c
index bf722c2c5..dfc8ffd8a 100644
--- a/ext/divx/gstdivxdec.c
+++ b/ext/divx/gstdivxdec.c
@@ -26,7 +26,7 @@
#include <gst/video/video.h>
/* elementfactory information */
-GstElementDetails gst_divxdec_details =
+static const GstElementDetails gst_divxdec_details =
GST_ELEMENT_DETAILS ("Divx4linux video decoder",
"Codec/Decoder/Video",
"Divx decoder based on divxdecore",
diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c
index edb5172b5..6fb449c92 100644
--- a/ext/divx/gstdivxenc.c
+++ b/ext/divx/gstdivxenc.c
@@ -27,7 +27,7 @@
#include <encore2.h>
/* elementfactory information */
-GstElementDetails gst_divxenc_details =
+static const GstElementDetails gst_divxenc_details =
GST_ELEMENT_DETAILS ("Divx4linux video encoder",
"Codec/Encoder/Video",
"Divx encoder based on divxencore",
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index c26b50552..3bfd2dc31 100644
--- a/ext/dts/gstdtsdec.c
+++ b/ext/dts/gstdtsdec.c
@@ -39,6 +39,12 @@
GST_DEBUG_CATEGORY_STATIC (dtsdec_debug);
#define GST_CAT_DEFAULT (dtsdec_debug)
+static const GstElementDetails gst_dtsdec_details =
+GST_ELEMENT_DETAILS ("DTS audio decoder",
+ "Codec/Decoder/Audio",
+ "Decodes DTS audio streams",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
+
enum
{
/* FILL ME */
@@ -101,11 +107,6 @@ static void
gst_dtsdec_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- 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 a6ca44ace..60bf67b3f 100644
--- a/ext/faac/gstfaac.c
+++ b/ext/faac/gstfaac.c
@@ -61,6 +61,12 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_ALWAYS,
GST_STATIC_CAPS (SINK_CAPS));
+static const 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>");
+
enum
{
ARG_0,
@@ -122,10 +128,6 @@ gst_faac_get_type (void)
static void
gst_faac_base_init (GstFaacClass * klass)
{
- 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 8adf538eb..ec20f6332 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -50,7 +50,7 @@ extern int8_t faacDecInit2 (faacDecHandle, guint8 *, guint32,
GST_DEBUG_CATEGORY_STATIC (faad_debug);
#define GST_CAT_DEFAULT faad_debug
-static GstElementDetails faad_details =
+static const GstElementDetails faad_details =
GST_ELEMENT_DETAILS ("AAC audio decoder",
"Codec/Decoder/Audio",
"Free MPEG-2/4 AAC decoder",
diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c
index 1b9eadf47..ef2c3ea13 100644
--- a/ext/gsm/gstgsmdec.c
+++ b/ext/gsm/gstgsmdec.c
@@ -31,7 +31,8 @@ GST_DEBUG_CATEGORY (gsmdec_debug);
#define GST_CAT_DEFAULT (gsmdec_debug)
/* elementfactory information */
-GstElementDetails gst_gsmdec_details = GST_ELEMENT_DETAILS ("GSM audio decoder",
+static const GstElementDetails gst_gsmdec_details =
+GST_ELEMENT_DETAILS ("GSM audio decoder",
"Codec/Decoder/Audio",
"Decodes GSM encoded audio",
"Philippe Khalaf <burger@speedy.org>");
diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c
index c4707ecf1..5e422ebd2 100644
--- a/ext/gsm/gstgsmenc.c
+++ b/ext/gsm/gstgsmenc.c
@@ -31,7 +31,8 @@ GST_DEBUG_CATEGORY (gsmenc_debug);
#define GST_CAT_DEFAULT (gsmenc_debug)
/* elementfactory information */
-GstElementDetails gst_gsmenc_details = GST_ELEMENT_DETAILS ("GSM audio encoder",
+static const GstElementDetails gst_gsmenc_details =
+GST_ELEMENT_DETAILS ("GSM audio encoder",
"Codec/Encoder/Audio",
"Encodes GSM audio",
"Philippe Khalaf <burger@speedy.org>");
diff --git a/ext/hermes/gsthermescolorspace.c b/ext/hermes/gsthermescolorspace.c
index 6dd08942d..17359e2c4 100644
--- a/ext/hermes/gsthermescolorspace.c
+++ b/ext/hermes/gsthermescolorspace.c
@@ -100,7 +100,7 @@ static GstHermesColorspaceFormat gst_hermes_colorspace_formats[] = {
{GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB_16)},
};
-static GstElementDetails colorspace_details =
+static const GstElementDetails colorspace_details =
GST_ELEMENT_DETAILS ("Colorspace converter",
"Filter/Converter/Video",
"Converts video from one colorspace to another using libhermes",
diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c
index a77817695..e31739a66 100644
--- a/ext/ivorbis/vorbisfile.c
+++ b/ext/ivorbis/vorbisfile.c
@@ -85,7 +85,7 @@ GType ivorbisfile_get_type (void);
static GstPadTemplate *gst_vorbisdec_src_template, *gst_vorbisdec_sink_template;
/* elementfactory information */
-GstElementDetails ivorbisfile_details =
+static const GstElementDetails ivorbisfile_details =
GST_ELEMENT_DETAILS ("Ogg Vorbis audio decoder",
"Codec/Decoder/Audio",
"Decodes OGG Vorbis audio using the Tremor vorbisfile API",
diff --git a/ext/lcs/gstcolorspace.c b/ext/lcs/gstcolorspace.c
index d4ecba6d7..98ef92ddf 100644
--- a/ext/lcs/gstcolorspace.c
+++ b/ext/lcs/gstcolorspace.c
@@ -59,7 +59,7 @@ struct _GstColorspaceClass
};
/* elementfactory information */
-static GstElementDetails colorspace_details =
+static const GstElementDetails colorspace_details =
GST_ELEMENT_DETAILS ("Colorspace converter",
"Filter/Effect",
"Converts video from one colorspace to another",
diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c
index 1dbe91779..c62051e57 100644
--- a/ext/libfame/gstlibfame.c
+++ b/ext/libfame/gstlibfame.c
@@ -30,7 +30,7 @@
#define FAMEENC_BUFFER_SIZE (300 * 1024)
/* elementfactory information */
-static GstElementDetails gst_fameenc_details =
+static const GstElementDetails gst_fameenc_details =
GST_ELEMENT_DETAILS ("MPEG-1 and MPEG-4 video encoder",
"Codec/Encoder/Video",
"Uses fameenc to encode MPEG video streams",
diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c
index 462431fe1..bbb9ca8a1 100644
--- a/ext/libmms/gstmms.c
+++ b/ext/libmms/gstmms.c
@@ -37,6 +37,12 @@ enum
GST_DEBUG_CATEGORY (mmssrc_debug);
#define GST_CAT_DEFAULT mmssrc_debug
+static const 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>");
+
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -77,11 +83,6 @@ GST_BOILERPLATE_FULL (GstMMS, gst_mms, GstPushSrc, GST_TYPE_PUSH_SRC,
static void
gst_mms_base_init (gpointer g_class)
{
- 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/musepack/gstmusepackdec.c b/ext/musepack/gstmusepackdec.c
index bb302cac9..caba5f17e 100644
--- a/ext/musepack/gstmusepackdec.c
+++ b/ext/musepack/gstmusepackdec.c
@@ -28,6 +28,12 @@
GST_DEBUG_CATEGORY (musepackdec_debug);
#define GST_CAT_DEFAULT musepackdec_debug
+static const GstElementDetails gst_musepackdec_details =
+GST_ELEMENT_DETAILS ("Musepack decoder",
+ "Codec/Decoder/Audio",
+ "Musepack decoder",
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
+
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -72,11 +78,6 @@ GST_BOILERPLATE (GstMusepackDec, gst_musepackdec, GstElement, GST_TYPE_ELEMENT);
static void
gst_musepackdec_base_init (gpointer klass)
{
- static GstElementDetails gst_musepackdec_details =
- GST_ELEMENT_DETAILS ("Musepack decoder",
- "Codec/Decoder/Audio",
- "Musepack decoder",
- "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/musicbrainz/gsttrm.c b/ext/musicbrainz/gsttrm.c
index 8e3e7fdc0..03f128195 100644
--- a/ext/musicbrainz/gsttrm.c
+++ b/ext/musicbrainz/gsttrm.c
@@ -115,7 +115,7 @@ gst_musicbrainz_get_type (void)
static void
gst_musicbrainz_base_init (GstMusicBrainzClass * klass)
{
- GstElementDetails gst_musicbrainz_details =
+ static const GstElementDetails gst_musicbrainz_details =
GST_ELEMENT_DETAILS ("Musicbrainz TRM generator",
"Filter/Analyzer/Audio",
"Compute TRM Id from muscibrainz",
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index 755d57b59..60d127416 100644
--- a/ext/nas/nassink.c
+++ b/ext/nas/nassink.c
@@ -125,7 +125,7 @@ gst_nassink_get_type (void)
static void
gst_nassink_base_init (gpointer g_class)
{
- static GstElementDetails nassink_details =
+ static const GstElementDetails nassink_details =
GST_ELEMENT_DETAILS ("NAS audio sink",
"Sink/Audio",
"Plays audio to a Network Audio Server",
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index 00019ccee..b8932e4a1 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -30,7 +30,7 @@ GST_DEBUG_CATEGORY (neonhttpsrc_debug);
#define MAX_READ_SIZE (4 * 1024)
-static GstElementDetails gst_neonhttp_src_details =
+static const GstElementDetails gst_neonhttp_src_details =
GST_ELEMENT_DETAILS ("HTTP client source",
"Source/Network",
"Receive data as a client over the network via HTTP using NEON",
diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c
index 8858e482b..e9ffe2c08 100644
--- a/ext/sdl/sdlaudiosink.c
+++ b/ext/sdl/sdlaudiosink.c
@@ -27,7 +27,7 @@ GST_DEBUG_CATEGORY_EXTERN (sdl_debug);
#define GST_CAT_DEFAULT sdl_debug
/* elementfactory information */
-static GstElementDetails gst_sdlaudio_sink_details =
+static const GstElementDetails gst_sdlaudio_sink_details =
GST_ELEMENT_DETAILS ("SDL audio sink",
"Sink/Audio",
"Output to a sound card via SDLAUDIO",
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 6834edf6d..43dcfe96c 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -49,7 +49,7 @@ 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 =
+static const GstElementDetails gst_sdlvideosink_details =
GST_ELEMENT_DETAILS ("SDL video sink",
"Sink/Video",
"An SDL-based videosink",
diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c
index ac074b50f..96ee63ee8 100644
--- a/ext/shout/gstshout.c
+++ b/ext/shout/gstshout.c
@@ -23,7 +23,7 @@
#include "gstshout.h"
/* elementfactory information */
-static GstElementDetails icecastsend_details =
+static const GstElementDetails icecastsend_details =
GST_ELEMENT_DETAILS ("Icecast network sink",
"Sink/Network",
"Sends data to an icecast server using libshout",
diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c
index e11831485..1e336ec81 100644
--- a/ext/snapshot/gstsnapshot.c
+++ b/ext/snapshot/gstsnapshot.c
@@ -29,7 +29,8 @@
#define MAX_HEIGHT 2048
/* elementfactory information */
-static GstElementDetails snapshot_details = GST_ELEMENT_DETAILS ("Snapshot",
+static const GstElementDetails snapshot_details =
+GST_ELEMENT_DETAILS ("Snapshot",
"Filter/Editor/Video",
"Dump a frame to a png file",
"Jeremy SIMON <jsimon13@yahoo.fr>");
diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c
index f44e58fa9..e6313ed57 100644
--- a/ext/sndfile/gstsf.c
+++ b/ext/sndfile/gstsf.c
@@ -31,12 +31,14 @@
#include "gstsf.h"
-static GstElementDetails sfsrc_details = GST_ELEMENT_DETAILS ("Sndfile source",
+static const 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",
+static const GstElementDetails sfsink_details =
+GST_ELEMENT_DETAILS ("Sndfile sink",
"Sink/Audio",
"Write audio streams to disk using libsndfile",
"Andy Wingo <wingo at pobox dot com>");
diff --git a/ext/swfdec/gstswfdec.c b/ext/swfdec/gstswfdec.c
index ff600f513..aba025c71 100644
--- a/ext/swfdec/gstswfdec.c
+++ b/ext/swfdec/gstswfdec.c
@@ -31,7 +31,7 @@ GST_DEBUG_CATEGORY_STATIC (swfdec_debug);
#define GST_CAT_DEFAULT swfdec_debug
/* elementfactory information */
-static GstElementDetails gst_swfdec_details =
+static const GstElementDetails gst_swfdec_details =
GST_ELEMENT_DETAILS ("SWF video decoder",
"Codec/Decoder/Video",
"Uses libswfdec to decode Flash video streams",
diff --git a/ext/tarkin/gsttarkindec.c b/ext/tarkin/gsttarkindec.c
index b8f3f6d0b..bfa0f1157 100644
--- a/ext/tarkin/gsttarkindec.c
+++ b/ext/tarkin/gsttarkindec.c
@@ -29,7 +29,7 @@
static GstPadTemplate *dec_src_template, *dec_sink_template;
/* elementfactory information */
-GstElementDetails tarkindec_details =
+static const GstElementDetails tarkindec_details =
GST_ELEMENT_DETAILS ("Tarkin video decoder",
"Codec/Decoder/Video",
"Decodes video in OGG Tarkin format",
diff --git a/ext/tarkin/gsttarkinenc.c b/ext/tarkin/gsttarkinenc.c
index 6980d80a8..95b49a4c8 100644
--- a/ext/tarkin/gsttarkinenc.c
+++ b/ext/tarkin/gsttarkinenc.c
@@ -29,7 +29,7 @@
static GstPadTemplate *enc_src_template, *enc_sink_template;
/* elementfactory information */
-GstElementDetails tarkinenc_details =
+static const GstElementDetails tarkinenc_details =
GST_ELEMENT_DETAILS ("Tarkin video encoder",
"Codec/Encoder/Video",
"Encodes video in OGG Tarkin format",
diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c
index 215f1e282..6657b7ec3 100644
--- a/ext/theora/theoradec.c
+++ b/ext/theora/theoradec.c
@@ -51,7 +51,7 @@
GST_DEBUG_CATEGORY (theoradecexp_debug);
#define GST_CAT_DEFAULT theoradecexp_debug
-static GstElementDetails theora_dec_details =
+static const GstElementDetails theora_dec_details =
GST_ELEMENT_DETAILS ("Theora video decoder",
"Codec/Decoder/Video",
"decode raw theora streams to raw YUV video using libtheoradec",
diff --git a/ext/wavpack/gstwavpackdec.c b/ext/wavpack/gstwavpackdec.c
index 50dcc792c..2c7c82e3a 100644
--- a/ext/wavpack/gstwavpackdec.c
+++ b/ext/wavpack/gstwavpackdec.c
@@ -127,7 +127,7 @@ gst_wavpack_dec_wvclink (GstPad * pad, GstPad * peer)
static void
gst_wavpack_dec_base_init (gpointer klass)
{
- static GstElementDetails plugin_details =
+ static const GstElementDetails plugin_details =
GST_ELEMENT_DETAILS ("WavePack audio decoder",
"Codec/Decoder/Audio",
"Decode Wavpack audio data",
diff --git a/ext/wavpack/gstwavpackparse.c b/ext/wavpack/gstwavpackparse.c
index 59ef81fab..49f87a5fe 100644
--- a/ext/wavpack/gstwavpackparse.c
+++ b/ext/wavpack/gstwavpackparse.c
@@ -68,11 +68,12 @@ static GstBuffer *gst_wavpack_parse_pull_buffer (GstWavpackParse * wvparse,
gint64 offset, guint size, GstFlowReturn * flow);
GST_BOILERPLATE (GstWavpackParse, gst_wavpack_parse, GstElement,
- GST_TYPE_ELEMENT)
+ GST_TYPE_ELEMENT);
- static void gst_wavpack_parse_base_init (gpointer klass)
+static void
+gst_wavpack_parse_base_init (gpointer klass)
{
- static GstElementDetails plugin_details =
+ static const GstElementDetails plugin_details =
GST_ELEMENT_DETAILS ("WavePack parser",
"Codec/Demuxer/Audio",
"Parses Wavpack files",
diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c
index a7697a198..5825dcb07 100644
--- a/ext/xvid/gstxviddec.c
+++ b/ext/xvid/gstxviddec.c
@@ -28,7 +28,7 @@
#include "gstxviddec.h"
/* elementfactory information */
-GstElementDetails gst_xviddec_details =
+static const GstElementDetails gst_xviddec_details =
GST_ELEMENT_DETAILS ("XviD video decoder",
"Codec/Decoder/Video",
"XviD decoder based on xvidcore",
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index 6eaf329c6..9bbb53935 100644
--- a/ext/xvid/gstxvidenc.c
+++ b/ext/xvid/gstxvidenc.c
@@ -29,7 +29,7 @@
#include "gstxvidenc.h"
/* elementfactory information */
-GstElementDetails gst_xvidenc_details =
+static const GstElementDetails gst_xvidenc_details =
GST_ELEMENT_DETAILS ("XviD video encoder",
"Codec/Encoder/Video",
"XviD encoder based on xvidcore",
diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c
index e8a072f66..828e27d88 100644
--- a/gst/cdxaparse/gstcdxaparse.c
+++ b/gst/cdxaparse/gstcdxaparse.c
@@ -61,7 +61,7 @@ GST_BOILERPLATE (GstCDXAParse, gst_cdxa_parse, GstElement, GST_TYPE_ELEMENT)
static void gst_cdxa_parse_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- static GstElementDetails gst_cdxa_parse_details =
+ static const GstElementDetails gst_cdxa_parse_details =
GST_ELEMENT_DETAILS ("(S)VCD parser",
"Codec/Parser",
"Parse a .dat file from (S)VCD into raw MPEG-1",
diff --git a/gst/cdxaparse/gstcdxastrip.c b/gst/cdxaparse/gstcdxastrip.c
index 3ef718fa3..00124b305 100644
--- a/gst/cdxaparse/gstcdxastrip.c
+++ b/gst/cdxaparse/gstcdxastrip.c
@@ -86,7 +86,7 @@ static void
gst_cdxastrip_base_init (GstCDXAStripClass * klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- static GstElementDetails gst_cdxastrip_details =
+ static const GstElementDetails gst_cdxastrip_details =
GST_ELEMENT_DETAILS ("(S)VCD stream parser",
"Codec/Parser",
"Strip (S)VCD stream from its syncheaders",
diff --git a/gst/cdxaparse/gstvcdparse.c b/gst/cdxaparse/gstvcdparse.c
index 3ef718fa3..00124b305 100644
--- a/gst/cdxaparse/gstvcdparse.c
+++ b/gst/cdxaparse/gstvcdparse.c
@@ -86,7 +86,7 @@ static void
gst_cdxastrip_base_init (GstCDXAStripClass * klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- static GstElementDetails gst_cdxastrip_details =
+ static const GstElementDetails gst_cdxastrip_details =
GST_ELEMENT_DETAILS ("(S)VCD stream parser",
"Codec/Parser",
"Strip (S)VCD stream from its syncheaders",
diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c
index 397fc93de..a94cb6fb5 100644
--- a/gst/chart/gstchart.c
+++ b/gst/chart/gstchart.c
@@ -64,7 +64,7 @@ GType gst_chart_get_type (void);
/* elementfactory information */
-static GstElementDetails gst_chart_details =
+static const GstElementDetails gst_chart_details =
GST_ELEMENT_DETAILS ("Chart drawer",
"Visualization",
"Takes frames of data and outputs video frames of a chart of data",
diff --git a/gst/colorspace/gstcolorspace.c b/gst/colorspace/gstcolorspace.c
index 4925b92e1..deed9c151 100644
--- a/gst/colorspace/gstcolorspace.c
+++ b/gst/colorspace/gstcolorspace.c
@@ -44,7 +44,7 @@ static GstColorspaceConverter gst_colorspace_converters[] = {
{GST_COLORSPACE_YV12, GST_COLORSPACE_RGB16, gst_colorspace_YV12_to_rgb16},
};
-static GstElementDetails colorspace_details =
+static const GstElementDetails colorspace_details =
GST_ELEMENT_DETAILS ("Colorspace converter",
"Filter/Converter/Video",
"Converts video from YUV to RGB",
diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c
index e0a1bc246..deec65a5a 100644
--- a/gst/deinterlace/gstdeinterlace.c
+++ b/gst/deinterlace/gstdeinterlace.c
@@ -43,7 +43,7 @@
#define GST_VIDEO_I420_SIZE(w,h) (GST_VIDEO_I420_V_OFFSET(w,h)+(GST_VIDEO_I420_V_ROWSTRIDE(w)*ROUND_UP_2(h)/2))
/* elementfactory information */
-static GstElementDetails deinterlace_details =
+static const GstElementDetails deinterlace_details =
GST_ELEMENT_DETAILS ("Deinterlace",
"Filter/Effect/Video",
"Deinterlace video",
diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c
index c7d67d309..54f0720a6 100644
--- a/gst/equalizer/gstiirequalizer.c
+++ b/gst/equalizer/gstiirequalizer.c
@@ -129,7 +129,7 @@ gst_iir_equalizer_get_type (void)
static void
gst_iir_equalizer_base_init (gpointer g_class)
{
- static GstElementDetails iir_equalizer_details =
+ static const GstElementDetails iir_equalizer_details =
GST_ELEMENT_DETAILS ("Equalizer",
"Filter/Effect/Audio",
"Direct Form IIR equalizer",
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c
index 66cdb70b1..0559af86c 100644
--- a/gst/festival/gstfestival.c
+++ b/gst/festival/gstfestival.c
@@ -90,7 +90,7 @@ static char *socket_receive_file_to_buff (int fd, int *size);
static char *client_accept_s_expr (int fd);
/* elementfactory information */
-static GstElementDetails gst_festival_details =
+static const GstElementDetails gst_festival_details =
GST_ELEMENT_DETAILS ("Festival Text-to-Speech synthesizer",
"Filter/Effect/Audio",
"Synthesizes plain text into audio",
diff --git a/gst/filter/gstbpwsinc.c b/gst/filter/gstbpwsinc.c
index ad77d432a..f94e201b5 100644
--- a/gst/filter/gstbpwsinc.c
+++ b/gst/filter/gstbpwsinc.c
@@ -39,7 +39,8 @@
#include <string.h> /* memmove */
/* elementfactory information */
-static GstElementDetails gst_bpwsinc_details = GST_ELEMENT_DETAILS ("BPWSinc",
+static const GstElementDetails gst_bpwsinc_details =
+GST_ELEMENT_DETAILS ("BPWSinc",
"Filter/Effect/Audio",
"Band-Pass Windowed sinc filter",
"Thomas <thomas@apestaart.org>, " "Steven W. Smith");
diff --git a/gst/filter/gstiir.c b/gst/filter/gstiir.c
index bee9e0fc5..bdebf4ba1 100644
--- a/gst/filter/gstiir.c
+++ b/gst/filter/gstiir.c
@@ -25,7 +25,7 @@
#include "gstfilter.h"
#include "iir.h"
-static GstElementDetails gst_iir_details =
+static const GstElementDetails gst_iir_details =
GST_ELEMENT_DETAILS ("Infinite Impulse Response(IIR) filter",
"Filter/Effect/Audio",
"IIR filter based on vorbis code",
diff --git a/gst/filter/gstlpwsinc.c b/gst/filter/gstlpwsinc.c
index 8ebfc4fbd..d7b1a5ec0 100644
--- a/gst/filter/gstlpwsinc.c
+++ b/gst/filter/gstlpwsinc.c
@@ -38,7 +38,7 @@
#include <math.h> /* M_PI */
#include <string.h> /* memmove */
-static GstElementDetails gst_lpwsinc_details =
+static const GstElementDetails gst_lpwsinc_details =
GST_ELEMENT_DETAILS ("Low-pass Windowed sinc filter",
"Filter/Effect/Audio",
"Low-pass Windowed sinc filter",
diff --git a/gst/freeze/gstfreeze.c b/gst/freeze/gstfreeze.c
index c315dc0fc..471d0c46e 100644
--- a/gst/freeze/gstfreeze.c
+++ b/gst/freeze/gstfreeze.c
@@ -33,7 +33,8 @@ enum
};
-static GstElementDetails freeze_details = GST_ELEMENT_DETAILS ("Stream freezer",
+static const GstElementDetails freeze_details =
+GST_ELEMENT_DETAILS ("Stream freezer",
"Generic",
"Makes a stream from buffers of data",
"Gergely Nagy <gergely.nagy@neteyes.hu>,"
diff --git a/gst/games/gstpuzzle.c b/gst/games/gstpuzzle.c
index ee5eca4cb..b802ffa36 100644
--- a/gst/games/gstpuzzle.c
+++ b/gst/games/gstpuzzle.c
@@ -120,7 +120,7 @@ gst_puzzle_get_type (void)
static void
gst_puzzle_base_init (gpointer g_class)
{
- static GstElementDetails puzzle_details =
+ static const GstElementDetails puzzle_details =
GST_ELEMENT_DETAILS ("A simple puzzle",
"Filter/Effect/Video/Games",
"A simple puzzle, use arrow keys and space to restart/solve",
diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c
index 93929a3be..6f22f9857 100644
--- a/gst/librfb/gstrfbsrc.c
+++ b/gst/librfb/gstrfbsrc.c
@@ -70,63 +70,58 @@ struct _GstRfbsrcClass
GstElementClass parent_class;
};
-GType
-gst_rfbsrc_get_type (void)
- G_GNUC_CONST;
-
+GType gst_rfbsrc_get_type (void);
- static GstElementDetails rfbsrc_details =
- GST_ELEMENT_DETAILS ("Video test source",
+static const GstElementDetails rfbsrc_details =
+GST_ELEMENT_DETAILS ("Video test source",
"Source/Video",
"Creates a test video stream",
"David A. Schleef <ds@schleef.org>");
/* GstRfbsrc signals and args */
- enum
- {
- /* FILL ME */
- LAST_SIGNAL
- };
-
- enum
- {
- ARG_0,
- ARG_SERVER,
- ARG_PORT,
- /* FILL ME */
- };
-
- static void gst_rfbsrc_base_init (gpointer g_class);
- static void gst_rfbsrc_class_init (GstRfbsrcClass * klass);
- static void gst_rfbsrc_init (GstRfbsrc * rfbsrc);
- static GstStateChangeReturn gst_rfbsrc_change_state (GstElement * element);
-
- static void gst_rfbsrc_set_property (GObject * object, guint prop_id,
+enum
+{
+ /* FILL ME */
+ LAST_SIGNAL
+};
+
+enum
+{
+ ARG_0,
+ ARG_SERVER,
+ ARG_PORT,
+ /* FILL ME */
+};
+
+static void gst_rfbsrc_base_init (gpointer g_class);
+static void gst_rfbsrc_class_init (GstRfbsrcClass * klass);
+static void gst_rfbsrc_init (GstRfbsrc * rfbsrc);
+static GstStateChangeReturn gst_rfbsrc_change_state (GstElement * element);
+
+static void gst_rfbsrc_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec);
- static void gst_rfbsrc_get_property (GObject * object, guint prop_id,
+static void gst_rfbsrc_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec);
- static GstData *gst_rfbsrc_get (GstPad * pad);
+static GstData *gst_rfbsrc_get (GstPad * pad);
- static const GstQueryType *gst_rfbsrc_get_query_types (GstPad * pad);
- static gboolean gst_rfbsrc_src_query (GstPad * pad,
+static const GstQueryType *gst_rfbsrc_get_query_types (GstPad * pad);
+static gboolean gst_rfbsrc_src_query (GstPad * pad,
GstQueryType type, GstFormat * format, gint64 * value);
- static void gst_rfbsrc_paint_rect (RfbDecoder * decoder, int x, int y,
+static void gst_rfbsrc_paint_rect (RfbDecoder * decoder, int x, int y,
int w, int h, guint8 * data);
- static gboolean gst_rfbsrc_handle_src_event (GstPad * pad,
- GstEvent * event);
+static gboolean gst_rfbsrc_handle_src_event (GstPad * pad, GstEvent * event);
- static GstCaps *gst_rfbsrc_getcaps (GstPad * pad);
- static GstPadLinkReturn gst_rfbsrc_link (GstPad * pad,
- const GstCaps * caps);
- static GstCaps *gst_rfbsrc_fixate (GstPad * pad, const GstCaps * caps);
+static GstCaps *gst_rfbsrc_getcaps (GstPad * pad);
+static GstPadLinkReturn gst_rfbsrc_link (GstPad * pad, const GstCaps * caps);
+static GstCaps *gst_rfbsrc_fixate (GstPad * pad, const GstCaps * caps);
- static GstElementClass *parent_class = NULL;
+static GstElementClass *parent_class = NULL;
- static GstStaticPadTemplate gst_rfbsrc_src_template =
- GST_STATIC_PAD_TEMPLATE ("src",
+static GstStaticPadTemplate gst_rfbsrc_src_template =
+GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-raw-rgb, "
diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c
index 6593478bc..aa2495c19 100644
--- a/gst/mixmatrix/mixmatrix.c
+++ b/gst/mixmatrix/mixmatrix.c
@@ -68,7 +68,7 @@ struct _GstMixMatrixClass
};
/* elementfactory information */
-static GstElementDetails mixmatrix_details =
+static const GstElementDetails mixmatrix_details =
GST_ELEMENT_DETAILS ("Mixing Matrix",
"Filter/Editor/Audio",
"Mix N audio channels together into M channels",
diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c
index da3c74857..4cf8a7816 100644
--- a/gst/mpeg1sys/gstmpeg1systemencode.c
+++ b/gst/mpeg1sys/gstmpeg1systemencode.c
@@ -31,7 +31,7 @@
/*#define GST_DEBUG (b...) g_print (##b) */
/* elementfactory information */
-static GstElementDetails system_encode_details =
+static const GstElementDetails system_encode_details =
GST_ELEMENT_DETAILS ("MPEG-1 muxer",
"Codec/Muxer",
"Multiplexes MPEG-1 Streams",
diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c
index 84757a246..73eb0f13b 100644
--- a/gst/mpeg1videoparse/gstmp1videoparse.c
+++ b/gst/mpeg1videoparse/gstmp1videoparse.c
@@ -36,7 +36,7 @@
#define SEQ_END_CODE 0x000001b7
/* elementfactory information */
-static GstElementDetails mpeg1videoparse_details =
+static const GstElementDetails mpeg1videoparse_details =
GST_ELEMENT_DETAILS ("MPEG-1 video parser",
"Codec/Parser/Video",
"Parses and frames MPEG 1 video streams, provides seek",
diff --git a/gst/mpeg2sub/gstmpeg2subt.c b/gst/mpeg2sub/gstmpeg2subt.c
index bea2c53c5..e3baea202 100644
--- a/gst/mpeg2sub/gstmpeg2subt.c
+++ b/gst/mpeg2sub/gstmpeg2subt.c
@@ -53,7 +53,7 @@ static void gst_setup_palette (GstMpeg2Subt * mpeg2subt, guchar * indexes,
static void gst_update_still_frame (GstMpeg2Subt * mpeg2subt);
/* elementfactory information */
-static GstElementDetails mpeg2subt_details =
+static const GstElementDetails mpeg2subt_details =
GST_ELEMENT_DETAILS ("MPEG-2 subtitle decoder",
"Codec/Decoder/Video",
"Decodes and merges MPEG2 subtitles into a video frame",
diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c
index 1062c2b4d..0e4aa25eb 100644
--- a/gst/mpegaudioparse/gstmpegaudioparse.c
+++ b/gst/mpegaudioparse/gstmpegaudioparse.c
@@ -25,7 +25,7 @@
/* elementfactory information */
-static GstElementDetails mp3parse_details =
+static const GstElementDetails mp3parse_details =
GST_ELEMENT_DETAILS ("MPEG-1 audio parser",
"Codec/Parser/Audio",
"Parses and frames mpeg1 audio streams (levels 1-3), provides seek",
diff --git a/gst/multifilesink/gstmultifilesink.c b/gst/multifilesink/gstmultifilesink.c
index 99e38e5fc..0dad22ce8 100644
--- a/gst/multifilesink/gstmultifilesink.c
+++ b/gst/multifilesink/gstmultifilesink.c
@@ -41,7 +41,7 @@
GST_DEBUG_CATEGORY_STATIC (gst_multifilesink_debug);
#define GST_CAT_DEFAULT gst_multifilesink_debug
-GstElementDetails gst_multifilesink_details =
+static const GstElementDetails gst_multifilesink_details =
GST_ELEMENT_DETAILS ("Multiple file sink",
"Sink/File",
"Write stream to multiple files sequentially",
diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c
index 1a826b615..373b29c1e 100644
--- a/gst/overlay/gstoverlay.c
+++ b/gst/overlay/gstoverlay.c
@@ -25,7 +25,8 @@
#include <gst/video/video.h>
/* elementfactory information */
-static GstElementDetails overlay_details = GST_ELEMENT_DETAILS ("Video overlay",
+static const GstElementDetails overlay_details =
+GST_ELEMENT_DETAILS ("Video overlay",
"Filter/Editor/Video",
"Overlay multiple video streams",
"David Schleef <ds@schleef.org>");
diff --git a/gst/passthrough/gstpassthrough.c b/gst/passthrough/gstpassthrough.c
index 26cee83ec..4524f69f7 100644
--- a/gst/passthrough/gstpassthrough.c
+++ b/gst/passthrough/gstpassthrough.c
@@ -30,7 +30,7 @@
#define PASSTHRU_NUM_BUFS 4
/* elementfactory information */
-static GstElementDetails passthrough_details =
+static const GstElementDetails passthrough_details =
GST_ELEMENT_DETAILS ("Passthrough",
"Filter/Effect/Audio",
"Transparent filter for audio/raw (boilerplate for effects)",
diff --git a/gst/playondemand/gstplayondemand.c b/gst/playondemand/gstplayondemand.c
index 700a01522..2309cacb1 100644
--- a/gst/playondemand/gstplayondemand.c
+++ b/gst/playondemand/gstplayondemand.c
@@ -41,7 +41,7 @@
#define GST_POD_BUFPOOL_NUM 6
-static GstElementDetails play_on_demand_details =
+static const GstElementDetails play_on_demand_details =
GST_ELEMENT_DETAILS ("Play On Demand",
"Filter/Editor/Audio",
"Schedule a stream to play at specific times, or when a signal is received",
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 339466a76..83b492436 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -155,7 +155,7 @@ enum QtDemuxState
static GNode *qtdemux_tree_get_child_by_type (GNode * node, guint32 fourcc);
static GNode *qtdemux_tree_get_sibling_by_type (GNode * node, guint32 fourcc);
-static GstElementDetails gst_qtdemux_details =
+static const GstElementDetails gst_qtdemux_details =
GST_ELEMENT_DETAILS ("QuickTime demuxer",
"Codec/Demuxer",
"Demultiplex a QuickTime file into audio and video streams",
diff --git a/gst/rtjpeg/gstrtjpegdec.c b/gst/rtjpeg/gstrtjpegdec.c
index 5024c5906..a11808f8a 100644
--- a/gst/rtjpeg/gstrtjpegdec.c
+++ b/gst/rtjpeg/gstrtjpegdec.c
@@ -26,7 +26,7 @@
/* elementfactory information */
-GstElementDetails gst_rtjpegdec_details =
+static const GstElementDetails gst_rtjpegdec_details =
GST_ELEMENT_DETAILS ("RTjpeg video decoder",
"Codec/Decoder/Video",
"Decodes video in RTjpeg format",
diff --git a/gst/rtjpeg/gstrtjpegenc.c b/gst/rtjpeg/gstrtjpegenc.c
index 9563e500e..f7d76a57e 100644
--- a/gst/rtjpeg/gstrtjpegenc.c
+++ b/gst/rtjpeg/gstrtjpegenc.c
@@ -24,7 +24,7 @@
#include "gstrtjpegenc.h"
/* elementfactory information */
-GstElementDetails gst_rtjpegenc_details =
+static const GstElementDetails gst_rtjpegenc_details =
GST_ELEMENT_DETAILS ("RTjpeg video encoder",
"Codec/Encoder/Video",
"Encodes video in RTjpeg format",
diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c
index f06f28bbc..97ecd9ddb 100644
--- a/gst/smooth/gstsmooth.c
+++ b/gst/smooth/gstsmooth.c
@@ -25,7 +25,8 @@
#include <gst/video/video.h>
/* elementfactory information */
-static GstElementDetails smooth_details = GST_ELEMENT_DETAILS ("Smooth effect",
+static const GstElementDetails smooth_details =
+GST_ELEMENT_DETAILS ("Smooth effect",
"Filter/Effect/Video",
"Apply a smooth filter to an image",
"Wim Taymans <wim.taymans@chello.be>");
diff --git a/gst/smoothwave/gstsmoothwave.c b/gst/smoothwave/gstsmoothwave.c
index 38c1f5fd3..a0ee5e7cf 100644
--- a/gst/smoothwave/gstsmoothwave.c
+++ b/gst/smoothwave/gstsmoothwave.c
@@ -29,7 +29,7 @@
#include "gstsmoothwave.h"
-static GstElementDetails gst_smoothwave_details =
+static const GstElementDetails gst_smoothwave_details =
GST_ELEMENT_DETAILS ("Smooth waveform",
"Visualization",
"Fading grayscale waveform display",
diff --git a/gst/spectrum/gstspectrum.c b/gst/spectrum/gstspectrum.c
index 442215724..4f01ceff4 100644
--- a/gst/spectrum/gstspectrum.c
+++ b/gst/spectrum/gstspectrum.c
@@ -25,7 +25,7 @@
#include "gstspectrum.h"
/* elementfactory information */
-static GstElementDetails gst_spectrum_details =
+static const GstElementDetails gst_spectrum_details =
GST_ELEMENT_DETAILS ("Spectrum analyzer",
"Filter/Analyzer/Audio",
"Run an FFT on the audio signal, output spectrum data",
diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c
index 6ced79c5d..a74afe111 100644
--- a/gst/speed/gstspeed.c
+++ b/gst/speed/gstspeed.c
@@ -30,7 +30,7 @@
#include "gstspeed.h"
/* elementfactory information */
-static GstElementDetails speed_details = GST_ELEMENT_DETAILS ("Speed",
+static const GstElementDetails speed_details = GST_ELEMENT_DETAILS ("Speed",
"Filter/Effect/Audio",
"Set speed/pitch on audio/raw streams (resampler)",
"Andy Wingo <apwingo@eos.ncsu.edu>, "
diff --git a/gst/stereo/gststereo.c b/gst/stereo/gststereo.c
index 9354ff83d..d99da1573 100644
--- a/gst/stereo/gststereo.c
+++ b/gst/stereo/gststereo.c
@@ -28,7 +28,8 @@
#include "gststereo.h"
/* elementfactory information */
-static GstElementDetails stereo_details = GST_ELEMENT_DETAILS ("Stereo effect",
+static const GstElementDetails stereo_details =
+GST_ELEMENT_DETAILS ("Stereo effect",
"Filter/Effect/Audio",
"Muck with the stereo signal to enhance its 'stereo-ness'",
"Erik Walthinsen <omega@cse.ogi.edu>");
diff --git a/gst/switch/gstswitch.c b/gst/switch/gstswitch.c
index b04fbda2e..57efa5522 100644
--- a/gst/switch/gstswitch.c
+++ b/gst/switch/gstswitch.c
@@ -34,7 +34,8 @@ enum
GST_DEBUG_CATEGORY_STATIC (switch_debug);
/* ElementFactory information */
-static GstElementDetails gst_switch_details = GST_ELEMENT_DETAILS ("Switch",
+static const GstElementDetails gst_switch_details =
+GST_ELEMENT_DETAILS ("Switch",
"Generic",
"N-to-1 input switching",
"Julien Moutte <julien@moutte.net>");
diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c
index 6e894241e..880bc7367 100644
--- a/gst/tta/gstttadec.c
+++ b/gst/tta/gstttadec.c
@@ -171,7 +171,7 @@ gst_tta_dec_get_type (void)
static void
gst_tta_dec_base_init (GstTtaDecClass * klass)
{
- static GstElementDetails plugin_details =
+ static const GstElementDetails plugin_details =
GST_ELEMENT_DETAILS ("TTA audio decoder",
"Codec/Decoder/Audio",
"Decode TTA audio data",
diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c
index 4438941bf..efbd4ce6b 100644
--- a/gst/tta/gstttaparse.c
+++ b/gst/tta/gstttaparse.c
@@ -85,7 +85,7 @@ gst_tta_parse_get_type (void)
static void
gst_tta_parse_base_init (GstTtaParseClass * klass)
{
- static GstElementDetails plugin_details =
+ static const GstElementDetails plugin_details =
GST_ELEMENT_DETAILS ("TTA file parser",
"Codec/Demuxer/Audio",
"Parses TTA files",
diff --git a/gst/vbidec/gstvbidec.c b/gst/vbidec/gstvbidec.c
index 1ee5afb8d..2e220e36d 100644
--- a/gst/vbidec/gstvbidec.c
+++ b/gst/vbidec/gstvbidec.c
@@ -64,7 +64,7 @@ struct _GstVBIDecClass
GType gst_vbidec_get_type (void);
/* elementfactory information */
-static GstElementDetails gst_vbidec_details =
+static const GstElementDetails gst_vbidec_details =
GST_ELEMENT_DETAILS ("VBI decoder",
"Codec/Decoder/Video",
"Decodes closed captions and XDS data from VBI data",
diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index bbca0d7f8..12db03529 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -59,7 +59,8 @@ struct _GstVideoCropClass
};
/* elementfactory information */
-static GstElementDetails gst_video_crop_details = GST_ELEMENT_DETAILS ("Crop",
+static const GstElementDetails gst_video_crop_details =
+GST_ELEMENT_DETAILS ("Crop",
"Filter/Effect/Video",
"Crops video into a user defined region",
"Wim Taymans <wim.taymans@chello.be>");
diff --git a/gst/videodrop/gstvideodrop.c b/gst/videodrop/gstvideodrop.c
index d5bc630c5..11d7f6f5e 100644
--- a/gst/videodrop/gstvideodrop.c
+++ b/gst/videodrop/gstvideodrop.c
@@ -25,7 +25,7 @@
#include <gst/video/video.h>
/* elementfactory information */
-static GstElementDetails videodrop_details =
+static const GstElementDetails videodrop_details =
GST_ELEMENT_DETAILS ("Frame dropper",
"Filter/Effect/Video",
"Re-FPS'es video by dropping frames",
diff --git a/gst/virtualdub/gstxsharpen.c b/gst/virtualdub/gstxsharpen.c
index 4a81e8dce..87b6e7dd3 100644
--- a/gst/virtualdub/gstxsharpen.c
+++ b/gst/virtualdub/gstxsharpen.c
@@ -53,7 +53,8 @@ struct _GstXsharpenClass
GstElementClass parent_class;
};
-GstElementDetails gst_xsharpen_details = GST_ELEMENT_DETAILS ("Sharpen",
+static const GstElementDetails gst_xsharpen_details =
+GST_ELEMENT_DETAILS ("Sharpen",
"Filter/Video/Effect",
"LGPL",
"Apply a sharpen effect on video" VERSION,
diff --git a/gst/xingheader/gstxingmux.c b/gst/xingheader/gstxingmux.c
index 9bfc7d198..6a7ca0003 100644
--- a/gst/xingheader/gstxingmux.c
+++ b/gst/xingheader/gstxingmux.c
@@ -84,7 +84,7 @@ gst_xing_mux_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- static GstElementDetails gst_xing_mux_details =
+ static const GstElementDetails gst_xing_mux_details =
GST_ELEMENT_DETAILS ("MP3 Xing muxer",
"Formatter/Metadata",
"Adds a Xing header to the beginning of a VBR MP3 file",
diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c
index 0f1854bc1..f4e10644a 100644
--- a/gst/y4m/gsty4mencode.c
+++ b/gst/y4m/gsty4mencode.c
@@ -26,7 +26,7 @@
#include <gst/video/video.h>
#include "gsty4mencode.h"
-static GstElementDetails y4mencode_details =
+static const GstElementDetails y4mencode_details =
GST_ELEMENT_DETAILS ("YUV4MPEG video encoder",
"Codec/Encoder/Video",
"Encodes a YUV frame into the yuv4mpeg format (mjpegtools)",
diff --git a/sys/cdrom/gstcdplayer.c b/sys/cdrom/gstcdplayer.c
index 8b212c677..a7debd24a 100644
--- a/sys/cdrom/gstcdplayer.c
+++ b/sys/cdrom/gstcdplayer.c
@@ -58,7 +58,8 @@ static GstStateChangeReturn cdplayer_change_state (GstElement * element,
static GstElementClass *parent_class;
static guint cdplayer_signals[LAST_SIGNAL] = { 0 };
-static GstElementDetails cdplayer_details = GST_ELEMENT_DETAILS ("CD Player",
+static const GstElementDetails cdplayer_details =
+GST_ELEMENT_DETAILS ("CD Player",
"Generic/Bin",
"Play CD audio through the CD Drive",
"Charles Schmidt <cbschmid@uiuc.edu>, "
diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c
index 2f837496e..237ebb9bc 100644
--- a/sys/directdraw/gstdirectdrawsink.c
+++ b/sys/directdraw/gstdirectdrawsink.c
@@ -35,7 +35,7 @@ GST_DEBUG_CATEGORY_STATIC (directdrawsink_debug);
#define GST_CAT_DEFAULT directdrawsink_debug
/* elementfactory information */
-static GstElementDetails gst_directdrawsink_details =
+static const GstElementDetails gst_directdrawsink_details =
GST_ELEMENT_DETAILS ("Video Sink (DIRECTDRAW)",
"Sink/Video",
"Output to a video card via DIRECTDRAW",
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c
index 7d90f6971..fc8e4577c 100644
--- a/sys/directsound/gstdirectsoundsink.c
+++ b/sys/directsound/gstdirectsoundsink.c
@@ -34,7 +34,7 @@ GST_DEBUG_CATEGORY_STATIC (directsoundsink_debug);
#define GST_CAT_DEFAULT directsoundsink_debug
/* elementfactory information */
-static GstElementDetails gst_directsoundsink_details =
+static const GstElementDetails gst_directsoundsink_details =
GST_ELEMENT_DETAILS ("Audio Sink (DIRECTSOUND)",
"Sink/Audio",
"Output to a sound card via DIRECTSOUND",
diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c
index 6f22d8090..f6ff4c278 100644
--- a/sys/glsink/glimagesink.c
+++ b/sys/glsink/glimagesink.c
@@ -106,7 +106,7 @@ static void gst_glimage_sink_update_caps (GstGLImageSink * glimage_sink);
static void gst_glimage_sink_push_image (GstGLImageSink * glimage_sink,
GstBuffer * buf);
-static GstElementDetails gst_glimage_sink_details =
+static const GstElementDetails gst_glimage_sink_details =
GST_ELEMENT_DETAILS ("OpenGL video sink",
"Sink/Video",
"A videosink based on OpenGL",
diff --git a/sys/qcam/gstqcamsrc.c b/sys/qcam/gstqcamsrc.c
index 535d6e522..fc633d860 100644
--- a/sys/qcam/gstqcamsrc.c
+++ b/sys/qcam/gstqcamsrc.c
@@ -34,7 +34,7 @@
#include "qcamip.h"
/* elementfactory information */
-static GstElementDetails gst_qcamsrc_details =
+static const GstElementDetails gst_qcamsrc_details =
GST_ELEMENT_DETAILS ("QCam Source",
"Source/Video",
"Read from a QuickCam device",
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c
index 82fb87560..0f6f1a7fc 100644
--- a/sys/v4l2/gstv4l2src.c
+++ b/sys/v4l2/gstv4l2src.c
@@ -52,7 +52,7 @@
#include <unistd.h>
-static GstElementDetails gst_v4l2src_details =
+static const GstElementDetails gst_v4l2src_details =
GST_ELEMENT_DETAILS ("Video (video4linux2/raw) Source",
"Source/Video",
"Reads raw frames from a video4linux2 (BT8x8) device",
diff --git a/sys/vcd/vcdsrc.c b/sys/vcd/vcdsrc.c
index 52b76ebba..61010ec3b 100644
--- a/sys/vcd/vcdsrc.c
+++ b/sys/vcd/vcdsrc.c
@@ -126,7 +126,7 @@ static void
gst_vcdsrc_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- static GstElementDetails gst_vcdsrc_details =
+ static const GstElementDetails gst_vcdsrc_details =
GST_ELEMENT_DETAILS ("VCD Source",
"Source/File",
"Asynchronous read from VCD disk",
diff --git a/sys/ximagesrc/ximagesrc.c b/sys/ximagesrc/ximagesrc.c
index 2c8399ea9..58292716d 100644
--- a/sys/ximagesrc/ximagesrc.c
+++ b/sys/ximagesrc/ximagesrc.c
@@ -60,7 +60,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_debug_ximagesrc);
#define GST_CAT_DEFAULT gst_debug_ximagesrc
/* elementfactory information */
-static GstElementDetails ximagesrc_details =
+static const GstElementDetails ximagesrc_details =
GST_ELEMENT_DETAILS ("Ximage video source",
"Source/Video",
"Creates a screenshot video stream",