Commit 27f2c9b2 authored by Stefan Kost's avatar Stefan Kost

Define GstElementDetails as const and also static (when defined as global)

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/dv/gstdvdemux.c:
* ext/esd/esdmon.c:
* ext/esd/esdsink.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/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: (gst_shout2send_init):
* ext/shout2/gstshout2.h:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* gst/alpha/gstalpha.c:
* gst/alpha/gstalphacolor.c:
* gst/apetag/gstapedemux.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/gstavidemux.c: (gst_avi_demux_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/gstnavseek.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/gstshagadelic.c:
* gst/effectv/gstvertigo.c:
* gst/effectv/gstwarp.c:
* gst/flx/gstflxdec.c:
* gst/goom/gstgoom.c:
* gst/icydemux/gsticydemux.c:
* gst/id3demux/gstid3demux.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/gstaggregator.c:
* gst/oldcore/gstfdsink.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/gstrtpilbcdepay.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/rtsp/gstrtspsrc.c:
* gst/smpte/gstsmpte.c:
* gst/udp/gstdynudpsink.c:
* gst/udp/gstmultiudpsink.c:
* gst/udp/gstudpsink.c:
* gst/udp/gstudpsrc.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/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_class_init), (gst_wavparse_dispose),
(gst_wavparse_reset), (gst_wavparse_init),
(gst_wavparse_perform_seek), (gst_wavparse_peek_chunk_info),
(gst_wavparse_peek_chunk), (gst_wavparse_stream_headers),
(gst_wavparse_parse_stream_init), (gst_wavparse_send_event),
(gst_wavparse_add_src_pad), (gst_wavparse_stream_data),
(gst_wavparse_chain), (gst_wavparse_srcpad_event),
(gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull),
(gst_wavparse_change_state):
* gst/wavparse/gstwavparse.h:
* sys/oss/gstossmixerelement.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
* sys/osxaudio/gstosxaudioelement.c:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosrc.c:
* sys/sunaudio/gstsunaudiomixer.c:
* sys/sunaudio/gstsunaudiosink.c:
Define GstElementDetails as const and also static (when defined as
global)
parent 55aed72d
2006-04-26 Stefan Kost <ensonic@users.sf.net>
* 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/dv/gstdvdemux.c:
* ext/esd/esdmon.c:
* ext/esd/esdsink.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/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: (gst_shout2send_init):
* ext/shout2/gstshout2.h:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* gst/alpha/gstalpha.c:
* gst/alpha/gstalphacolor.c:
* gst/apetag/gstapedemux.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/gstavidemux.c: (gst_avi_demux_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/gstnavseek.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/gstshagadelic.c:
* gst/effectv/gstvertigo.c:
* gst/effectv/gstwarp.c:
* gst/flx/gstflxdec.c:
* gst/goom/gstgoom.c:
* gst/icydemux/gsticydemux.c:
* gst/id3demux/gstid3demux.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/gstaggregator.c:
* gst/oldcore/gstfdsink.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/gstrtpilbcdepay.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/rtsp/gstrtspsrc.c:
* gst/smpte/gstsmpte.c:
* gst/udp/gstdynudpsink.c:
* gst/udp/gstmultiudpsink.c:
* gst/udp/gstudpsink.c:
* gst/udp/gstudpsrc.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/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_class_init), (gst_wavparse_dispose),
(gst_wavparse_reset), (gst_wavparse_init),
(gst_wavparse_perform_seek), (gst_wavparse_peek_chunk_info),
(gst_wavparse_peek_chunk), (gst_wavparse_stream_headers),
(gst_wavparse_parse_stream_init), (gst_wavparse_send_event),
(gst_wavparse_add_src_pad), (gst_wavparse_stream_data),
(gst_wavparse_chain), (gst_wavparse_srcpad_event),
(gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull),
(gst_wavparse_change_state):
* gst/wavparse/gstwavparse.h:
* sys/oss/gstossmixerelement.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
* sys/osxaudio/gstosxaudioelement.c:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosrc.c:
* sys/sunaudio/gstsunaudiomixer.c:
* sys/sunaudio/gstsunaudiosink.c:
Define GstElementDetails as const and also static (when defined as
global)
2006-04-25 Tim-Philipp Müller <tim at centricular dot net>
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain):
......
......@@ -28,7 +28,7 @@
#include <gst/video/video.h>
/* elementfactory information */
static GstElementDetails gst_aasink_details =
static const GstElementDetails gst_aasink_details =
GST_ELEMENT_DETAILS ("ASCII art video sink",
"Sink/Video",
"An ASCII art videosink",
......
......@@ -69,7 +69,7 @@ enum
LAST_SIGNAL
};
static GstElementDetails gst_cmml_dec_details =
static const GstElementDetails gst_cmml_dec_details =
GST_ELEMENT_DETAILS ("CMML stream decoder",
"Codec/Decoder",
"Decodes CMML streams",
......
......@@ -65,7 +65,7 @@ enum
LAST_SIGNAL
};
static GstElementDetails gst_cmml_enc_details =
static const GstElementDetails gst_cmml_enc_details =
GST_ELEMENT_DETAILS ("CMML streams encoder",
"Codec/Encoder",
"Encodes CMML streams",
......
......@@ -43,7 +43,7 @@
GST_DEBUG_CATEGORY_EXTERN (cairo_debug);
#define GST_CAT_DEFAULT cairo_debug
static GstElementDetails cairo_text_overlay_details =
static const GstElementDetails cairo_text_overlay_details =
GST_ELEMENT_DETAILS ("Text overlay",
"Filter/Editor/Video",
"Adds text strings on top of a video buffer",
......
......@@ -48,7 +48,7 @@
#include <gst/video/video.h>
static GstElementDetails cairo_time_overlay_details =
static const GstElementDetails cairo_time_overlay_details =
GST_ELEMENT_DETAILS ("Time overlay",
"Filter/Editor/Video",
"Overlays the time on a video stream",
......
......@@ -91,7 +91,7 @@ enum
PROP_READ_SPEED
};
static GstElementDetails gst_cdio_cdda_src_details =
static const GstElementDetails gst_cdio_cdda_src_details =
GST_ELEMENT_DETAILS ("CD audio source (CDDA)",
"Source/File",
"Read audio from CD using libcdio",
......
......@@ -51,7 +51,7 @@
#include "gstdvdec.h"
static GstElementDetails dvdec_details =
static const GstElementDetails dvdec_details =
GST_ELEMENT_DETAILS ("DV video decoder",
"Codec/Decoder/Video",
"Uses libdv to decode DV video (smpte314) (libdv.sourceforge.net)",
......
......@@ -110,7 +110,7 @@
GST_DEBUG_CATEGORY (dvdemux_debug);
#define GST_CAT_DEFAULT dvdemux_debug
static GstElementDetails dvdemux_details =
static const GstElementDetails dvdemux_details =
GST_ELEMENT_DETAILS ("DV system stream demuxer",
"Codec/Demuxer",
"Uses libdv to separate DV audio from DV video (libdv.sourceforge.net)",
......
......@@ -29,7 +29,7 @@
/* elementfactory information */
static GstElementDetails esdmon_details =
static const GstElementDetails esdmon_details =
GST_ELEMENT_DETAILS ("Esound audio monitor",
"Source/Audio",
"Monitors audio from an esound server",
......
......@@ -37,7 +37,7 @@ GST_DEBUG_CATEGORY_EXTERN (esd_debug);
#define GST_CAT_DEFAULT esd_debug
/* elementfactory information */
static GstElementDetails esdsink_details =
static const GstElementDetails esdsink_details =
GST_ELEMENT_DETAILS ("Esound audio sink",
"Sink/Audio",
"Plays audio to an esound server",
......
......@@ -31,7 +31,8 @@
#include "flac_compat.h"
GstElementDetails flacenc_details = GST_ELEMENT_DETAILS ("FLAC audio encoder",
static const 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>");
......
......@@ -86,7 +86,7 @@ struct _GstFlacTagClass
};
/* elementfactory information */
static GstElementDetails gst_flac_tag_details =
static const GstElementDetails gst_flac_tag_details =
GST_ELEMENT_DETAILS ("FLAC tagger",
"Tag",
"Rewrite tags in a FLAC file",
......
......@@ -51,7 +51,7 @@ static void
gst_gconf_audio_sink_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
GstElementDetails gst_gconf_audio_sink_details =
static const GstElementDetails gst_gconf_audio_sink_details =
GST_ELEMENT_DETAILS ("GConf audio sink",
"Sink/Audio",
"Audio sink embedding the GConf-settings for audio output",
......
......@@ -40,7 +40,7 @@ static void
gst_gconf_audio_src_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
GstElementDetails gst_gconf_audio_src_details =
static const GstElementDetails gst_gconf_audio_src_details =
GST_ELEMENT_DETAILS ("GConf audio source",
"Source/Audio",
"Audio source embedding the GConf-settings for audio input",
......
......@@ -39,7 +39,7 @@ static void
gst_gconf_video_sink_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
GstElementDetails gst_gconf_video_sink_details =
static const GstElementDetails gst_gconf_video_sink_details =
GST_ELEMENT_DETAILS ("GConf video sink",
"Sink/Video",
"Video sink embedding the GConf-settings for video output",
......
......@@ -40,7 +40,7 @@ static void
gst_gconf_video_src_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
GstElementDetails gst_gconf_video_src_details =
static const GstElementDetails gst_gconf_video_src_details =
GST_ELEMENT_DETAILS ("GConf video source",
"Source/Video",
"Video source embedding the GConf-settings for video input",
......
......@@ -40,7 +40,7 @@ GST_DEBUG_CATEGORY (pixbufscale_debug);
#define GST_CAT_DEFAULT pixbufscale_debug
/* elementfactory information */
static GstElementDetails pixbufscale_details =
static const GstElementDetails pixbufscale_details =
GST_ELEMENT_DETAILS ("GdkPixbuf image scaler",
"Filter/Effect/Video",
"Resizes video",
......
......@@ -73,7 +73,7 @@ static void
gst_hal_audio_sink_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
GstElementDetails gst_hal_audio_sink_details =
static const GstElementDetails gst_hal_audio_sink_details =
GST_ELEMENT_DETAILS ("HAL audio sink",
"Sink/Audio",
"Audio sink for sound device access via HAL",
......
......@@ -75,7 +75,7 @@ static void
gst_hal_audio_src_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
GstElementDetails gst_hal_audio_src_details =
static const GstElementDetails gst_hal_audio_src_details =
GST_ELEMENT_DETAILS ("HAL audio source",
"Source/Audio",
"Audio source for sound device access via HAL",
......
......@@ -28,7 +28,7 @@
#include "gst/gst-i18n-plugin.h"
#include <jerror.h>
GstElementDetails gst_jpeg_dec_details =
static const GstElementDetails gst_jpeg_dec_details =
GST_ELEMENT_DETAILS ("JPEG image decoder",
"Codec/Decoder/Image",
"Decode images from JPEG format",
......
......@@ -27,7 +27,7 @@
#include <gst/video/video.h>
/* elementfactory information */
GstElementDetails gst_jpegenc_details =
static const GstElementDetails gst_jpegenc_details =
GST_ELEMENT_DETAILS ("JPEG image encoder",
"Codec/Encoder/Image",
"Encode images in JPEG format",
......
......@@ -28,7 +28,7 @@
#include <gst/video/video.h>
/* elementfactory information */
GstElementDetails gst_smokedec_details =
static const GstElementDetails gst_smokedec_details =
GST_ELEMENT_DETAILS ("Smoke video decoder",
"Codec/Decoder/Video",
"Decode video from Smoke format",
......
......@@ -27,7 +27,7 @@
#include <gst/video/video.h>
/* elementfactory information */
GstElementDetails gst_smokeenc_details =
static const GstElementDetails gst_smokeenc_details =
GST_ELEMENT_DETAILS ("Smoke video encoder",
"Codec/Encoder/Video",
"Encode images into the Smoke format",
......
......@@ -27,7 +27,7 @@
#include "gstcacasink.h"
/* elementfactory information */
static GstElementDetails gst_cacasink_details =
static const GstElementDetails gst_cacasink_details =
GST_ELEMENT_DETAILS ("A colored ASCII art video sink",
"Sink/Video",
"A colored ASCII art videosink",
......
......@@ -21,7 +21,7 @@
#include "gstmngdec.h"
#include <gst/video/video.h>
static GstElementDetails gst_mngdec_details =
static const GstElementDetails gst_mngdec_details =
GST_ELEMENT_DETAILS ("MNG video decoder",
"Codec/Decoder/Video",
"Decode a mng video to raw images",
......
......@@ -27,7 +27,8 @@
#define MAX_HEIGHT 4096
GstElementDetails gst_mngenc_details = GST_ELEMENT_DETAILS ("MNG video encoder",
static const 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>");
......
......@@ -23,7 +23,7 @@
#include <gst/video/video.h>
#include <gst/gst-i18n-plugin.h>
static GstElementDetails gst_pngdec_details =
static const GstElementDetails gst_pngdec_details =
GST_ELEMENT_DETAILS ("PNG image decoder",
"Codec/Decoder/Image",
"Decode a png video frame to a raw image",
......
......@@ -28,7 +28,7 @@
#define MAX_HEIGHT 4096
static GstElementDetails gst_pngenc_details =
static const GstElementDetails gst_pngenc_details =
GST_ELEMENT_DETAILS ("PNG image encoder",
"Codec/Encoder/Image",
"Encode a video frame to a .png image",
......
......@@ -25,7 +25,8 @@
#include <stdlib.h>
/* elementfactory information */
GstElementDetails mikmod_details = GST_ELEMENT_DETAILS ("MikMod audio decoder",
static const GstElementDetails mikmod_details =
GST_ELEMENT_DETAILS ("MikMod audio decoder",
"Codec/Decoder/Audio",
"Module decoder based on libmikmod",
"Jeremy SIMON <jsimon13@yahoo.fr>");
......
......@@ -93,7 +93,7 @@ enum
PROP_GUID
};
static GstElementDetails gst_dv1394src_details =
static const GstElementDetails gst_dv1394src_details =
GST_ELEMENT_DETAILS ("Firewire (1394) DV video source",
"Source/Video",
"Source for DV video data from firewire port",
......
......@@ -53,7 +53,7 @@
GST_DEBUG_CATEGORY_STATIC (speexdec_debug);
#define GST_CAT_DEFAULT speexdec_debug
static GstElementDetails speex_dec_details =
static const GstElementDetails speex_dec_details =
GST_ELEMENT_DETAILS ("Speex audio decoder",
"Codec/Decoder/Audio",
"decode speex streams to audio",
......
......@@ -38,7 +38,8 @@ GST_DEBUG_CATEGORY (speexenc_debug);
static GstPadTemplate *gst_speexenc_src_template, *gst_speexenc_sink_template;
/* elementfactory information */
GstElementDetails speexenc_details = GST_ELEMENT_DETAILS ("Speex audio encoder",
static const GstElementDetails speexenc_details =
GST_ELEMENT_DETAILS ("Speex audio encoder",
"Codec/Encoder/Audio",
"Encodes audio in Speex format",
"Wim Taymans <wim@fluendo.com>");
......
......@@ -98,7 +98,7 @@ struct _GstAlphaClass
};
/* elementfactory information */
static GstElementDetails gst_alpha_details =
static const GstElementDetails gst_alpha_details =
GST_ELEMENT_DETAILS ("Alpha filter",
"Filter/Effect/Video",
"Adds an alpha channel to video",
......
......@@ -59,7 +59,7 @@ struct _GstAlphaColorClass
};
/* elementfactory information */
static GstElementDetails gst_alpha_color_details =
static const GstElementDetails gst_alpha_color_details =
GST_ELEMENT_DETAILS ("Alpha color filter",
"Filter/Effect/Video",
"RGB->YUV colorspace conversion preserving the alpha channels",
......
......@@ -65,7 +65,7 @@
GST_DEBUG_CATEGORY (apedemux_debug);
#define GST_CAT_DEFAULT (apedemux_debug)
static GstElementDetails gst_ape_demux_details =
static const GstElementDetails gst_ape_demux_details =
GST_ELEMENT_DETAILS ("APE tag demuxer",
"Codec/Demuxer/Metadata",
"Read and output APE tags while demuxing the contents",
......
......@@ -33,7 +33,7 @@
#include <gst/audio/audio.h>
/* elementfactory information */
static GstElementDetails gst_au_parse_details =
static const GstElementDetails gst_au_parse_details =
GST_ELEMENT_DETAILS ("AU audio demuxer",
"Codec/Demuxer/Audio",
"Parse an .au file into raw audio",
......
......@@ -56,7 +56,7 @@ static void
gst_auto_audio_sink_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
GstElementDetails gst_auto_audio_sink_details =
const GstElementDetails gst_auto_audio_sink_details =
GST_ELEMENT_DETAILS ("Auto audio sink",
"Sink/Audio",
"Wrapper audio sink for automatically detected audio sink",
......
......@@ -56,7 +56,7 @@ static void
gst_auto_video_sink_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
GstElementDetails gst_auto_video_sink_details =
const GstElementDetails gst_auto_video_sink_details =
GST_ELEMENT_DETAILS ("Auto video sink",
"Sink/Video",
"Wrapper video sink for automatically detected video sink",
......
......@@ -99,7 +99,7 @@ gst_avi_demux_get_type (void)
static void
gst_avi_demux_base_init (GstAviDemuxClass * klass)
{
static GstElementDetails gst_avi_demux_details =
static const GstElementDetails gst_avi_demux_details =
GST_ELEMENT_DETAILS ("Avi demuxer",
"Codec/Demuxer",
"Demultiplex an avi file into audio and video",
......
......@@ -197,7 +197,7 @@ static void
gst_avimux_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
static GstElementDetails gst_avimux_details =
static const GstElementDetails gst_avimux_details =
GST_ELEMENT_DETAILS ("Avi muxer",
"Codec/Muxer",
"Muxes audio and video into an avi stream",
......
......@@ -34,7 +34,8 @@ 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 = GST_ELEMENT_DETAILS ("Audio cutter",
static const GstElementDetails cutter_details =
GST_ELEMENT_DETAILS ("Audio cutter",
"Filter/Editor/Audio",
"Audio Cutter to split audio into non-silent bits",
"Thomas <thomas@apestaart.org>");
......
......@@ -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 ("Break my data",
static const GstElementDetails details = GST_ELEMENT_DETAILS ("Break my data",
"Testing",
"randomly change data in the stream",
"Benjamin Otte <otte@gnome>");
......
......@@ -42,7 +42,8 @@
GST_DEBUG_CATEGORY_STATIC (gst_efence_debug);
#define GST_CAT_DEFAULT gst_efence_debug
static GstElementDetails plugin_details = GST_ELEMENT_DETAILS ("Electric Fence",
static const 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 "
......
......@@ -31,7 +31,7 @@
GST_DEBUG_CATEGORY (navigationtest_debug);
#define GST_CAT_DEFAULT navigationtest_debug
static GstElementDetails navigationtest_details =
static const GstElementDetails navigationtest_details =
GST_ELEMENT_DETAILS ("Video navigation test",
"Filter/Effect/Video",
"Handle navigation events showing a black square following mouse pointer",
......
......@@ -47,7 +47,7 @@ GstStaticPadTemplate navseek_sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
static GstElementDetails navseek_details =
static const GstElementDetails navseek_details =
GST_ELEMENT_DETAILS ("Seek based on left-right arrows",
"Filter/Video",
"Seek based on navigation keys left-right",
......
......@@ -60,7 +60,8 @@ struct _GstNegotiationClass
GType gst_gst_negotiation_get_type (void);
static GstElementDetails plugin_details = GST_ELEMENT_DETAILS ("Negotiation",
static const GstElementDetails plugin_details =
GST_ELEMENT_DETAILS ("Negotiation",
"Testing",
"This element acts like identity, except that one can control how "
"negotiation works",
......
......@@ -83,7 +83,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
static GstElementDetails progress_report_details =
static const GstElementDetails progress_report_details =
GST_ELEMENT_DETAILS ("Progress report",
"Testing",
"Periodically query and report on processing progress",
......
......@@ -79,7 +79,7 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_STATIC_CAPS_ANY);
static GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin",
static const GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin",
"Testing",
"perform a number of tests",
"Benjamin Otte <otte@gnome>");
......
......@@ -93,7 +93,7 @@ struct _GstAgingTVClass
GType gst_agingtv_get_type (void);
static GstElementDetails agingtv_details =
static const GstElementDetails agingtv_details =
GST_ELEMENT_DETAILS ("AgingTV effect",
"Filter/Effect/Video",
"AgingTV adds age to video input using scratches and dust",
......
......@@ -70,7 +70,7 @@ GType gst_dicetv_get_type (void);
static void gst_dicetv_create_map (GstDiceTV * filter);
static GstElementDetails gst_dicetv_details =
static const GstElementDetails gst_dicetv_details =
GST_ELEMENT_DETAILS ("DiceTV effect",
"Filter/Effect/Video",
"'Dices' the screen up into many small squares",
......
......@@ -62,7 +62,7 @@ struct _GstEdgeTVClass
GType gst_edgetv_get_type (void);
static GstElementDetails gst_edgetv_details =
static const GstElementDetails gst_edgetv_details =
GST_ELEMENT_DETAILS ("EdgeTV effect",
"Filter/Effect/Video",
"Apply edge detect on video",
......
......@@ -76,7 +76,7 @@ GType gst_quarktv_get_type (void);
static void gst_quarktv_planetable_clear (GstQuarkTV * filter);
static GstElementDetails quarktv_details =
static const GstElementDetails quarktv_details =
GST_ELEMENT_DETAILS ("QuarkTV effect",
"Filter/Effect/Video",
"Motion dissolver",
......
......@@ -93,7 +93,7 @@ enum
GType gst_revtv_get_type (void);
static GstElementDetails gst_revtv_details =
static const GstElementDetails gst_revtv_details =
GST_ELEMENT_DETAILS ("RevTV effect",
"Filter/Effect/Video",
"A video waveform monitor for each line of video processed",
......
......@@ -75,7 +75,7 @@ GType gst_shagadelictv_get_type (void);
static void gst_shagadelic_initialize (GstShagadelicTV * filter);
static GstElementDetails shagadelictv_details =
static const GstElementDetails shagadelictv_details =
GST_ELEMENT_DETAILS ("ShagadelicTV",
"Filter/Effect/Video",
"Oh behave, ShagedelicTV makes images shagadelic!",
......
......@@ -76,7 +76,7 @@ enum
ARG_ZOOM_SPEED
};
static GstElementDetails vertigotv_details =
static const GstElementDetails vertigotv_details =
GST_ELEMENT_DETAILS ("VertigoTV effect",
"Filter/Effect/Video",
"A loopback alpha blending effector with rotating and scaling",
......
......@@ -85,7 +85,8 @@ static void initSinTable (GstWarpTV * filter);
static void initOffsTable (GstWarpTV * filter);
static void initDistTable (GstWarpTV * filter);
static GstElementDetails warptv_details = GST_ELEMENT_DETAILS ("WarpTV effect",
static const 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>");
......
</
......@@ -32,7 +32,7 @@ GST_DEBUG_CATEGORY_STATIC (flxdec_debug);
#define GST_CAT_DEFAULT flxdec_debug