subtitleoverlay: add a couple drive by const

https://bugzilla.gnome.org/show_bug.cgi?id=668682
This commit is contained in:
Vincent Penquerc'h 2012-01-25 14:38:19 +00:00
parent 6c51a80f6f
commit 66e05c04b8

View file

@ -220,7 +220,7 @@ _is_parser (GstElementFactory * factory)
return FALSE;
}
static const gchar *_sub_pad_names[] = { "subpicture", "subpicture_sink",
static const gchar *const _sub_pad_names[] = { "subpicture", "subpicture_sink",
"text", "text_sink",
"subtitle_sink", "subtitle"
};
@ -510,7 +510,7 @@ _get_sub_pad (GstElement * element)
static GstPad *
_get_video_pad (GstElement * element)
{
static const gchar *pad_names[] = { "video", "video_sink" };
static const gchar *const pad_names[] = { "video", "video_sink" };
GstPad *pad;
guint i;