diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-04-25 21:39:46 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-04-25 21:39:46 +0000 |
commit | 27f2c9b2555be2fda77179d16cd0c19f0ee37cfa (patch) | |
tree | 1a989bb0850065730f707065795f39911c7fe125 /ext | |
parent | 55aed72d3cdd61e82bb2838f7462c4a2bd75d4f6 (diff) |
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)
Diffstat (limited to 'ext')
32 files changed, 36 insertions, 32 deletions
diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index 6f2aa6f9e..a633b2db2 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -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", diff --git a/ext/annodex/gstcmmldec.c b/ext/annodex/gstcmmldec.c index f52ca2ebc..71f322f37 100644 --- a/ext/annodex/gstcmmldec.c +++ b/ext/annodex/gstcmmldec.c @@ -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", diff --git a/ext/annodex/gstcmmlenc.c b/ext/annodex/gstcmmlenc.c index 3ec87f4fe..5c7d7580d 100644 --- a/ext/annodex/gstcmmlenc.c +++ b/ext/annodex/gstcmmlenc.c @@ -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", diff --git a/ext/cairo/gsttextoverlay.c b/ext/cairo/gsttextoverlay.c index 642dd52e2..664de841e 100644 --- a/ext/cairo/gsttextoverlay.c +++ b/ext/cairo/gsttextoverlay.c @@ -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", diff --git a/ext/cairo/gsttimeoverlay.c b/ext/cairo/gsttimeoverlay.c index 9d03988a1..d501a543a 100644 --- a/ext/cairo/gsttimeoverlay.c +++ b/ext/cairo/gsttimeoverlay.c @@ -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", diff --git a/ext/cdio/gstcdiocddasrc.c b/ext/cdio/gstcdiocddasrc.c index 754edc8c2..cf83656d1 100644 --- a/ext/cdio/gstcdiocddasrc.c +++ b/ext/cdio/gstcdiocddasrc.c @@ -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", diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index 2392094c5..c7ab36901 100644 --- a/ext/dv/gstdvdec.c +++ b/ext/dv/gstdvdec.c @@ -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)", diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c index 5223e96fc..55a412516 100644 --- a/ext/dv/gstdvdemux.c +++ b/ext/dv/gstdvdemux.c @@ -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)", diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index 473b1eab7..df1b59ece 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -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", diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index dca30d513..ff0a194c5 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -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", diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 655dff3d8..28b85c22c 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -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>"); diff --git a/ext/flac/gstflactag.c b/ext/flac/gstflactag.c index f1271b6f1..246efbefb 100644 --- a/ext/flac/gstflactag.c +++ b/ext/flac/gstflactag.c @@ -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", diff --git a/ext/gconf/gstgconfaudiosink.c b/ext/gconf/gstgconfaudiosink.c index 6c704a024..8cd81c155 100644 --- a/ext/gconf/gstgconfaudiosink.c +++ b/ext/gconf/gstgconfaudiosink.c @@ -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", diff --git a/ext/gconf/gstgconfaudiosrc.c b/ext/gconf/gstgconfaudiosrc.c index 86837c118..b80c89c6c 100644 --- a/ext/gconf/gstgconfaudiosrc.c +++ b/ext/gconf/gstgconfaudiosrc.c @@ -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", diff --git a/ext/gconf/gstgconfvideosink.c b/ext/gconf/gstgconfvideosink.c index 1b4479ed3..ed37287d1 100644 --- a/ext/gconf/gstgconfvideosink.c +++ b/ext/gconf/gstgconfvideosink.c @@ -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", diff --git a/ext/gconf/gstgconfvideosrc.c b/ext/gconf/gstgconfvideosrc.c index a613da633..093545e30 100644 --- a/ext/gconf/gstgconfvideosrc.c +++ b/ext/gconf/gstgconfvideosrc.c @@ -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", diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c index a6dbe1e20..7c498d3d9 100644 --- a/ext/gdk_pixbuf/pixbufscale.c +++ b/ext/gdk_pixbuf/pixbufscale.c @@ -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", diff --git a/ext/hal/gsthalaudiosink.c b/ext/hal/gsthalaudiosink.c index eb9c4eeff..ea3c40666 100644 --- a/ext/hal/gsthalaudiosink.c +++ b/ext/hal/gsthalaudiosink.c @@ -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", diff --git a/ext/hal/gsthalaudiosrc.c b/ext/hal/gsthalaudiosrc.c index fb8cc9b5b..f57e963eb 100644 --- a/ext/hal/gsthalaudiosrc.c +++ b/ext/hal/gsthalaudiosrc.c @@ -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", diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index aa57291bb..55704f681 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -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", diff --git a/ext/jpeg/gstjpegenc.c b/ext/jpeg/gstjpegenc.c index 93833cf5b..2fc16b448 100644 --- a/ext/jpeg/gstjpegenc.c +++ b/ext/jpeg/gstjpegenc.c @@ -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", diff --git a/ext/jpeg/gstsmokedec.c b/ext/jpeg/gstsmokedec.c index 79aea6550..2cfc790db 100644 --- a/ext/jpeg/gstsmokedec.c +++ b/ext/jpeg/gstsmokedec.c @@ -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", diff --git a/ext/jpeg/gstsmokeenc.c b/ext/jpeg/gstsmokeenc.c index 83bbf1f06..2ea7cf81a 100644 --- a/ext/jpeg/gstsmokeenc.c +++ b/ext/jpeg/gstsmokeenc.c @@ -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", diff --git a/ext/libcaca/gstcacasink.c b/ext/libcaca/gstcacasink.c index 9139d1999..9786edb34 100644 --- a/ext/libcaca/gstcacasink.c +++ b/ext/libcaca/gstcacasink.c @@ -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", diff --git a/ext/libmng/gstmngdec.c b/ext/libmng/gstmngdec.c index 70f615fb8..d3f05ce03 100644 --- a/ext/libmng/gstmngdec.c +++ b/ext/libmng/gstmngdec.c @@ -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", diff --git a/ext/libmng/gstmngenc.c b/ext/libmng/gstmngenc.c index 81b393e55..c6e343268 100644 --- a/ext/libmng/gstmngenc.c +++ b/ext/libmng/gstmngenc.c @@ -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>"); diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c index 6fbca4835..3be0149df 100644 --- a/ext/libpng/gstpngdec.c +++ b/ext/libpng/gstpngdec.c @@ -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", diff --git a/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c index 2078c3070..c20b30fb4 100644 --- a/ext/libpng/gstpngenc.c +++ b/ext/libpng/gstpngenc.c @@ -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", diff --git a/ext/mikmod/gstmikmod.c b/ext/mikmod/gstmikmod.c index 749c88c98..83dd315ce 100644 --- a/ext/mikmod/gstmikmod.c +++ b/ext/mikmod/gstmikmod.c @@ -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>"); diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c index 7a9cceaa5..e6289a2fa 100644 --- a/ext/raw1394/gstdv1394src.c +++ b/ext/raw1394/gstdv1394src.c @@ -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", diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c index c7e5d05ab..d20573d80 100644 --- a/ext/speex/gstspeexdec.c +++ b/ext/speex/gstspeexdec.c @@ -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", diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c index 0a9fabd05..bbd9e0110 100644 --- a/ext/speex/gstspeexenc.c +++ b/ext/speex/gstspeexenc.c @@ -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>"); |