mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
uri-asset: Check that the newly computed URI exist
No the one we know failed!
This commit is contained in:
parent
7c6ad5e3ba
commit
dc2f48a726
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
*proposed_new_id);
|
||||
|
|
Loading…
Reference in a new issue