Commit dc2f48a7 authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

uri-asset: Check that the newly computed URI exist

No the one we know failed!
parent 7c6ad5e3
......@@ -144,7 +144,7 @@ _request_id_update (GESAsset * self, gchar ** proposed_new_id, GError * error)
GFile *new_file = g_file_get_child (new_parent, basename);
/* FIXME Handle the GCancellable */
if (g_file_query_exists (file, NULL)) {
if (g_file_query_exists (new_file, NULL)) {
*proposed_new_id = g_file_get_uri (new_file);
GST_DEBUG_OBJECT (self, "Proposing path: %s as proxy",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment