diff options
Diffstat (limited to 'ext')
42 files changed, 76 insertions, 60 deletions
diff --git a/ext/amrwb/gstamrwbdec.c b/ext/amrwb/gstamrwbdec.c index 1bab9f75..d0910c02 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 ced5c13b..5ede732f 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 1aa954be..e1132b49 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 bee180a6..aa6c1866 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 a811cf32..5cc2c8ad 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 fed9fa80..ca786a93 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 ce6155b6..a6103bf4 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 5850362b..87558b77 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 9f19f36d..acba8b3e 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 6fab9f65..b5501fd3 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 81a030b7..e8bb2341 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 dc475019..bc5ee26e 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 fbbd19ce..9c970598 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 bf722c2c..dfc8ffd8 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 edb5172b..6fb449c9 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 c26b5055..3bfd2dc3 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 a6ca44ac..60bf67b3 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 8adf538e..ec20f633 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 1b9eadf4..ef2c3ea1 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 c4707ecf..5e422ebd 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 6dd08942..17359e2c 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 a7781769..e31739a6 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 d4ecba6d..98ef92dd 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 1dbe9177..c62051e5 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 462431fe..bbb9ca8a 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 bb302cac..caba5f17 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 8e3e7fdc..03f12819 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 755d57b5..60d12741 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 00019cce..b8932e4a 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 8858e482..e9ffe2c0 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 6834edf6..43dcfe96 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 ac074b50..96ee63ee 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 e1183148..1e336ec8 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 f44e58fa..e6313ed5 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 ff600f51..aba025c7 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 b8f3f6d0..bfa0f115 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 6980d80a..95b49a4c 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 215f1e28..6657b7ec 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 50dcc792..2c7c82e3 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 59ef81fa..49f87a5f 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 a7697a19..5825dcb0 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 6eaf329c..9bbb5393 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", |