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

Original commit message from CVS:
* ext/mad/gstid3tag.c:
* ext/mad/gstmad.c:
* gst/ac3parse/gstac3parse.c:
* gst/dvdlpcmdec/gstdvdlpcmdec.c:
* gst/synaesthesia/gstsynaesthesia.c:
Define GstElementDetails as const and also static (when defined as
global)
This commit is contained in:
Stefan Kost 2006-04-25 21:47:03 +00:00
parent 230cf263e4
commit 8c5e23f9cb
6 changed files with 16 additions and 5 deletions

View file

@ -1,3 +1,13 @@
2006-04-26 Stefan Kost <ensonic@users.sf.net>
* ext/mad/gstid3tag.c:
* ext/mad/gstmad.c:
* gst/ac3parse/gstac3parse.c:
* gst/dvdlpcmdec/gstdvdlpcmdec.c:
* gst/synaesthesia/gstsynaesthesia.c:
Define GstElementDetails as const and also static (when defined as
global)
2006-04-25 Tim-Philipp Müller <tim at centricular dot net> 2006-04-25 Tim-Philipp Müller <tim at centricular dot net>
* ext/dvdnav/dvdnavsrc.c: (gst_dvd_nav_src_push_titlelang_event): * ext/dvdnav/dvdnavsrc.c: (gst_dvd_nav_src_push_titlelang_event):

View file

@ -243,7 +243,7 @@ gst_id3_tag_get_type (guint type)
} }
/* elementfactory information */ /* elementfactory information */
GstElementDetails gst_id3_tag_details[3] = { static const GstElementDetails gst_id3_tag_details[3] = {
GST_ELEMENT_DETAILS ("id3 tag extractor", GST_ELEMENT_DETAILS ("id3 tag extractor",
"Codec/Demuxer/Audio", "Codec/Demuxer/Audio",
"Extract ID3 tagging information", "Extract ID3 tagging information",

View file

@ -95,7 +95,7 @@ struct _GstMadClass
}; };
/* elementfactory information */ /* elementfactory information */
static GstElementDetails gst_mad_details = static const GstElementDetails gst_mad_details =
GST_ELEMENT_DETAILS ("mad mp3 decoder", GST_ELEMENT_DETAILS ("mad mp3 decoder",
"Codec/Decoder/Audio", "Codec/Decoder/Audio",
"Uses mad code to decode mp3 streams", "Uses mad code to decode mp3 streams",

View file

@ -76,7 +76,8 @@ static struct frmsize_s frmsizecod_tbl[] = {
}; };
/* elementfactory information */ /* elementfactory information */
static GstElementDetails ac3parse_details = GST_ELEMENT_DETAILS ("AC3 Parser", static const GstElementDetails ac3parse_details =
GST_ELEMENT_DETAILS ("AC3 Parser",
"Codec/Parser/Audio", "Codec/Parser/Audio",
"Parses and frames AC3 audio streams, provides seek", "Parses and frames AC3 audio streams, provides seek",
"Erik Walthinsen <omega@cse.ogi.edu>"); "Erik Walthinsen <omega@cse.ogi.edu>");

View file

@ -31,7 +31,7 @@ GST_DEBUG_CATEGORY_STATIC (dvdlpcm_debug);
#define GST_CAT_DEFAULT dvdlpcm_debug #define GST_CAT_DEFAULT dvdlpcm_debug
/* elementfactory information */ /* elementfactory information */
static GstElementDetails gst_dvdlpcmdec_details = static const GstElementDetails gst_dvdlpcmdec_details =
GST_ELEMENT_DETAILS ("DVD LPCM Audio decoder", GST_ELEMENT_DETAILS ("DVD LPCM Audio decoder",
"Codec/Demuxer/Audio", "Codec/Demuxer/Audio",
"Decode DVD LPCM frames into standard PCM audio", "Decode DVD LPCM frames into standard PCM audio",

View file

@ -73,7 +73,7 @@ GType gst_synaesthesia_get_type (void);
/* elementfactory information */ /* elementfactory information */
static GstElementDetails gst_synaesthesia_details = static const GstElementDetails gst_synaesthesia_details =
GST_ELEMENT_DETAILS ("Synaesthesia", GST_ELEMENT_DETAILS ("Synaesthesia",
"Visualization", "Visualization",
"Creates video visualizations of audio input, using stereo and pitch information", "Creates video visualizations of audio input, using stereo and pitch information",