mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
subtitleoverlay: add a couple drive by const
https://bugzilla.gnome.org/show_bug.cgi?id=668682
This commit is contained in:
parent
6c51a80f6f
commit
66e05c04b8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue