From 11cb7a31b422607c1e68aef34aa4d4b3f421079b Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Wed, 10 May 2006 10:29:54 +0000 Subject: 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. --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/rtsp') 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"}, -- cgit v1.2.3