diff --git a/ChangeLog b/ChangeLog index c299325efd..33dc5a3993 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-04-26 Stefan Kost + + * 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 * ext/dvdnav/dvdnavsrc.c: (gst_dvd_nav_src_push_titlelang_event): diff --git a/ext/mad/gstid3tag.c b/ext/mad/gstid3tag.c index a2a1a2075f..d244145fe9 100644 --- a/ext/mad/gstid3tag.c +++ b/ext/mad/gstid3tag.c @@ -243,7 +243,7 @@ gst_id3_tag_get_type (guint type) } /* elementfactory information */ -GstElementDetails gst_id3_tag_details[3] = { +static const GstElementDetails gst_id3_tag_details[3] = { GST_ELEMENT_DETAILS ("id3 tag extractor", "Codec/Demuxer/Audio", "Extract ID3 tagging information", diff --git a/ext/mad/gstmad.c b/ext/mad/gstmad.c index c3795ee44c..3c0b2f23db 100644 --- a/ext/mad/gstmad.c +++ b/ext/mad/gstmad.c @@ -95,7 +95,7 @@ struct _GstMadClass }; /* elementfactory information */ -static GstElementDetails gst_mad_details = +static const GstElementDetails gst_mad_details = GST_ELEMENT_DETAILS ("mad mp3 decoder", "Codec/Decoder/Audio", "Uses mad code to decode mp3 streams", diff --git a/gst/ac3parse/gstac3parse.c b/gst/ac3parse/gstac3parse.c index 12f713a3ff..e4f4efb2ad 100644 --- a/gst/ac3parse/gstac3parse.c +++ b/gst/ac3parse/gstac3parse.c @@ -76,7 +76,8 @@ static struct frmsize_s frmsizecod_tbl[] = { }; /* elementfactory information */ -static GstElementDetails ac3parse_details = GST_ELEMENT_DETAILS ("AC3 Parser", +static const GstElementDetails ac3parse_details = +GST_ELEMENT_DETAILS ("AC3 Parser", "Codec/Parser/Audio", "Parses and frames AC3 audio streams, provides seek", "Erik Walthinsen "); diff --git a/gst/dvdlpcmdec/gstdvdlpcmdec.c b/gst/dvdlpcmdec/gstdvdlpcmdec.c index 027a140553..f10337a869 100644 --- a/gst/dvdlpcmdec/gstdvdlpcmdec.c +++ b/gst/dvdlpcmdec/gstdvdlpcmdec.c @@ -31,7 +31,7 @@ GST_DEBUG_CATEGORY_STATIC (dvdlpcm_debug); #define GST_CAT_DEFAULT dvdlpcm_debug /* elementfactory information */ -static GstElementDetails gst_dvdlpcmdec_details = +static const GstElementDetails gst_dvdlpcmdec_details = GST_ELEMENT_DETAILS ("DVD LPCM Audio decoder", "Codec/Demuxer/Audio", "Decode DVD LPCM frames into standard PCM audio", diff --git a/gst/synaesthesia/gstsynaesthesia.c b/gst/synaesthesia/gstsynaesthesia.c index 8cbe8a981a..2fb82cbfe3 100644 --- a/gst/synaesthesia/gstsynaesthesia.c +++ b/gst/synaesthesia/gstsynaesthesia.c @@ -73,7 +73,7 @@ GType gst_synaesthesia_get_type (void); /* elementfactory information */ -static GstElementDetails gst_synaesthesia_details = +static const GstElementDetails gst_synaesthesia_details = GST_ELEMENT_DETAILS ("Synaesthesia", "Visualization", "Creates video visualizations of audio input, using stereo and pitch information",