summaryrefslogtreecommitdiffstats
path: root/gst
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 /gst
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 'gst')
-rw-r--r--gst/alpha/gstalpha.c2
-rw-r--r--gst/rtp/gstrtpilbcdepay.c2
-rw-r--r--gst/rtsp/gstrtspsrc.c2
-rw-r--r--gst/videobox/gstvideobox.c2
-rw-r--r--gst/videofilter/gstvideoflip.c2
-rw-r--r--gst/videomixer/videomixer.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/gst/alpha/gstalpha.c b/gst/alpha/gstalpha.c
index 966cc55f..95be3849 100644
--- a/gst/alpha/gstalpha.c
+++ b/gst/alpha/gstalpha.c
@@ -174,7 +174,7 @@ static GType
gst_alpha_method_get_type (void)
{
static GType alpha_method_type = 0;
- static GEnumValue alpha_method[] = {
+ static const GEnumValue alpha_method[] = {
{ALPHA_METHOD_SET, "Set/adjust alpha channel", "set"},
{ALPHA_METHOD_GREEN, "Chroma Key green", "green"},
{ALPHA_METHOD_BLUE, "Chroma Key blue", "blue"},
diff --git a/gst/rtp/gstrtpilbcdepay.c b/gst/rtp/gstrtpilbcdepay.c
index 1d3448d4..6264a216 100644
--- a/gst/rtp/gstrtpilbcdepay.c
+++ b/gst/rtp/gstrtpilbcdepay.c
@@ -80,7 +80,7 @@ static GType
gst_ilbc_mode_get_type (void)
{
static GType ilbc_mode_type = 0;
- static GEnumValue ilbc_modes[] = {
+ static const GEnumValue ilbc_modes[] = {
{GST_ILBC_MODE_20, "20ms frames", "20ms"},
{GST_ILBC_MODE_30, "30ms frames", "30ms"},
{0, NULL, NULL},
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index a05849b9..4554dc03 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -75,7 +75,7 @@ static GType
gst_rtsp_proto_get_type (void)
{
static GType rtsp_proto_type = 0;
- static GFlagsValue rtsp_proto[] = {
+ static const GFlagsValue rtsp_proto[] = {
{GST_RTSP_PROTO_UDP_UNICAST, "UDP Unicast", "UDP unicast mode"},
{GST_RTSP_PROTO_UDP_MULTICAST, "UDP Multicast", "UDP Multicast mode"},
{GST_RTSP_PROTO_TCP, "TCP", "TCP interleaved mode"},
diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c
index efe11769..602d4746 100644
--- a/gst/videobox/gstvideobox.c
+++ b/gst/videobox/gstvideobox.c
@@ -144,7 +144,7 @@ static GType
gst_video_box_fill_get_type (void)
{
static GType video_box_fill_type = 0;
- static GEnumValue video_box_fill[] = {
+ static const GEnumValue video_box_fill[] = {
{VIDEO_BOX_FILL_BLACK, "Black", "black"},
{VIDEO_BOX_FILL_GREEN, "Colorkey green", "green"},
{VIDEO_BOX_FILL_BLUE, "Colorkey blue", "blue"},
diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c
index c915fab9..f9312e64 100644
--- a/gst/videofilter/gstvideoflip.c
+++ b/gst/videofilter/gstvideoflip.c
@@ -91,7 +91,7 @@ static GType
gst_video_flip_method_get_type (void)
{
static GType video_flip_method_type = 0;
- static GEnumValue video_flip_methods[] = {
+ static const GEnumValue video_flip_methods[] = {
{GST_VIDEO_FLIP_METHOD_IDENTITY, "Identity (no rotation)", "none"},
{GST_VIDEO_FLIP_METHOD_90R, "Rotate clockwise 90 degrees", "clockwise"},
{GST_VIDEO_FLIP_METHOD_180, "Rotate 180 degrees", "rotate-180"},
diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c
index 4b5b7634..a5b5a7b7 100644
--- a/gst/videomixer/videomixer.c
+++ b/gst/videomixer/videomixer.c
@@ -423,7 +423,7 @@ static GType
gst_video_mixer_background_get_type (void)
{
static GType video_mixer_background_type = 0;
- static GEnumValue video_mixer_background[] = {
+ static const GEnumValue video_mixer_background[] = {
{VIDEO_MIXER_BACKGROUND_CHECKER, "Checker pattern", "checker"},
{VIDEO_MIXER_BACKGROUND_BLACK, "Black", "black"},
{VIDEO_MIXER_BACKGROUND_WHITE, "White", "white"},