mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
ges-launch: Fix compiler warnings
ges_validate_print_action_types() takes a const gchar **.
This commit is contained in:
parent
73d9fd70c9
commit
320e2406d1
2 changed files with 3 additions and 2 deletions
|
@ -847,7 +847,8 @@ main (int argc, gchar ** argv)
|
|||
}
|
||||
|
||||
if (list_action_types)
|
||||
return ges_validate_print_action_types (argv + 1, argc - 1);
|
||||
return ges_validate_print_action_types ((const gchar **) argv + 1,
|
||||
argc - 1);
|
||||
|
||||
tried_uris = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
|
||||
if (((!load_path && !scenario && (argc < 4)))) {
|
||||
|
|
|
@ -32,7 +32,7 @@ gint
|
|||
ges_validate_clean (GstPipeline *pipeline);
|
||||
|
||||
void ges_validate_handle_request_state_change (GstMessage *message, GMainLoop *mainloop);
|
||||
gint ges_validate_print_action_types (gchar **types, gint num_types);
|
||||
gint ges_validate_print_action_types (const gchar **types, gint num_types);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue