summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-05-10 10:29:54 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-05-10 10:29:54 +0000
commit11cb7a31b422607c1e68aef34aa4d4b3f421079b (patch)
treee670d60d732c118c3c5c0bcf310234d8f242d73f /ext
parente412f6d4339c789bcc89a46bfef51d46c9f39293 (diff)
Const-ify GEnumValue arrays.
Original commit message from CVS: * ext/esd/esdmon.c: (gst_esdmon_depths_get_type), (gst_esdmon_channels_get_type): * ext/gconf/gstgconfaudiosink.c: (gst_gconf_profile_get_type): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_method_get_type): * ext/libcaca/gstcacasink.c: (gst_cacasink_dither_get_type): * ext/shout2/gstshout2.c: (gst_shout2send_protocol_get_type): * gst/alpha/gstalpha.c: (gst_alpha_method_get_type): * gst/rtp/gstrtpilbcdepay.c: (gst_ilbc_mode_get_type): * gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type): * gst/videobox/gstvideobox.c: (gst_video_box_fill_get_type): * gst/videofilter/gstvideoflip.c: (gst_video_flip_method_get_type): * gst/videomixer/videomixer.c: (gst_video_mixer_background_get_type): Const-ify GEnumValue arrays.
Diffstat (limited to 'ext')
-rw-r--r--ext/esd/esdmon.c4
-rw-r--r--ext/gconf/gstgconfaudiosink.c2
-rw-r--r--ext/gdk_pixbuf/pixbufscale.c2
-rw-r--r--ext/libcaca/gstcacasink.c2
-rw-r--r--ext/shout2/gstshout2.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c
index df1b59ec..6a97e23c 100644
--- a/ext/esd/esdmon.c
+++ b/ext/esd/esdmon.c
@@ -91,7 +91,7 @@ static GType
gst_esdmon_depths_get_type (void)
{
static GType esdmon_depths_type = 0;
- static GEnumValue esdmon_depths[] = {
+ static const GEnumValue esdmon_depths[] = {
{8, "8 Bits", "8"},
{16, "16 Bits", "16"},
{0, NULL, NULL},
@@ -109,7 +109,7 @@ static GType
gst_esdmon_channels_get_type (void)
{
static GType esdmon_channels_type = 0;
- static GEnumValue esdmon_channels[] = {
+ static const GEnumValue esdmon_channels[] = {
{1, "Mono", "mono"},
{2, "Stereo", "stereo"},
{0, NULL, NULL},
diff --git a/ext/gconf/gstgconfaudiosink.c b/ext/gconf/gstgconfaudiosink.c
index 8cd81c15..77297af6 100644
--- a/ext/gconf/gstgconfaudiosink.c
+++ b/ext/gconf/gstgconfaudiosink.c
@@ -71,7 +71,7 @@ static GType
gst_gconf_profile_get_type (void)
{
static GType gconf_profile_type = 0;
- static GEnumValue gconf_profiles[] = {
+ static const GEnumValue gconf_profiles[] = {
{GCONF_PROFILE_SOUNDS, "Sound Events", "sounds"},
{GCONF_PROFILE_MUSIC, "Music and Movies", "music"},
{GCONF_PROFILE_CHAT, "Audio/Video Conferencing", "chat"},
diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c
index 3e011b8f..df5ba53a 100644
--- a/ext/gdk_pixbuf/pixbufscale.c
+++ b/ext/gdk_pixbuf/pixbufscale.c
@@ -81,7 +81,7 @@ static GType
gst_pixbufscale_method_get_type (void)
{
static GType pixbufscale_method_type = 0;
- static GEnumValue pixbufscale_methods[] = {
+ static const GEnumValue pixbufscale_methods[] = {
{GST_PIXBUFSCALE_NEAREST, "0", "Nearest Neighbour"},
{GST_PIXBUFSCALE_TILES, "1", "Tiles"},
{GST_PIXBUFSCALE_BILINEAR, "2", "Bilinear"},
diff --git a/ext/libcaca/gstcacasink.c b/ext/libcaca/gstcacasink.c
index 9786edb3..1b4700d7 100644
--- a/ext/libcaca/gstcacasink.c
+++ b/ext/libcaca/gstcacasink.c
@@ -107,7 +107,7 @@ gst_cacasink_dither_get_type (void)
{
static GType dither_type = 0;
- static GEnumValue dither_types[] = {
+ static const GEnumValue dither_types[] = {
{CACA_DITHERING_NONE, "No dithering", "none"},
{CACA_DITHERING_ORDERED2, "Ordered 2x2 Bayer dithering", "2x2"},
{CACA_DITHERING_ORDERED4, "Ordered 4x4 Bayer dithering", "4x4"},
diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c
index 4fc42007..a4e1b6f6 100644
--- a/ext/shout2/gstshout2.c
+++ b/ext/shout2/gstshout2.c
@@ -105,7 +105,7 @@ static GType
gst_shout2send_protocol_get_type (void)
{
static GType shout2send_protocol_type = 0;
- static GEnumValue shout2send_protocol[] = {
+ static const GEnumValue shout2send_protocol[] = {
{SHOUT2SEND_PROTOCOL_XAUDIOCAST,
"Xaudiocast Protocol (icecast 1.3.x)", "xaudiocast"},
{SHOUT2SEND_PROTOCOL_ICY, "Icy Protocol (ShoutCast)", "icy"},