mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
ges-xml-formatter: Use g_filename_to_uri() instead of deprecated gst_uri_construct()
ges-xml-formatter.c: In function ‘_parse_asset’: ges-xml-formatter.c:357:7: error: ‘gst_uri_construct’ is deprecated: Use 'gst_uri_new' instead [-Werror=deprecated-declarations] 357 | id = gst_uri_construct ("file", subproj_data->filename); | ^~
This commit is contained in:
parent
5feeb35dba
commit
894df73011
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ _parse_asset (GMarkupParseContext * context, const gchar * element_name,
|
|||
}
|
||||
g_markup_parse_context_get_position (context, &subproj_data->start_line,
|
||||
&subproj_data->start_char);
|
||||
id = gst_uri_construct ("file", subproj_data->filename);
|
||||
id = g_filename_to_uri (subproj_data->filename, NULL, NULL);
|
||||
G_LOCK (uri_subprojects_map_lock);
|
||||
g_hash_table_insert (priv->subprojects_map, g_strdup (subproj_data->id),
|
||||
(gchar *) id);
|
||||
|
|
Loading…
Reference in a new issue