mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
tools: Never try to propose same URI when we know it is missing URI
This commit is contained in:
parent
ee2b3f7d24
commit
aac186a742
1 changed files with 3 additions and 1 deletions
|
@ -186,7 +186,9 @@ ges_launch_get_new_uri_from_wrong_uri (const gchar * old_uri)
|
|||
res = g_build_filename (new_paths->pdata[i], basename, NULL);
|
||||
g_free (basename);
|
||||
|
||||
if (g_hash_table_lookup (tried_uris, res)) {
|
||||
if (g_strcmp0 (old_uri, res) == 0) {
|
||||
g_hash_table_add (tried_uris, res);
|
||||
} else if (g_hash_table_lookup (tried_uris, res)) {
|
||||
GST_DEBUG ("File already tried: %s\n", res);
|
||||
g_free (res);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue