diff options
-rw-r--r-- | ChangeLog | 17 | ||||
-rw-r--r-- | ext/esd/esdmon.c | 4 | ||||
-rw-r--r-- | ext/gconf/gstgconfaudiosink.c | 2 | ||||
-rw-r--r-- | ext/gdk_pixbuf/pixbufscale.c | 2 | ||||
-rw-r--r-- | ext/libcaca/gstcacasink.c | 2 | ||||
-rw-r--r-- | ext/shout2/gstshout2.c | 2 | ||||
-rw-r--r-- | gst/alpha/gstalpha.c | 2 | ||||
-rw-r--r-- | gst/rtp/gstrtpilbcdepay.c | 2 | ||||
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 | ||||
-rw-r--r-- | gst/videobox/gstvideobox.c | 2 | ||||
-rw-r--r-- | gst/videofilter/gstvideoflip.c | 2 | ||||
-rw-r--r-- | gst/videomixer/videomixer.c | 2 |
12 files changed, 29 insertions, 12 deletions
@@ -1,5 +1,22 @@ 2006-05-09 Tim-Philipp Müller <tim at centricular dot net> + * 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. + +2006-05-09 Tim-Philipp Müller <tim at centricular dot net> + Patch by: Mark Nauwelaerts <manauw at skynet bet> * gst/avi/gstavimux.c: (gst_avi_mux_do_audio_buffer), 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"}, 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"}, |