mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
project: Enhance debugging when updating URI with an invalid one
https://bugzilla.gnome.org/show_bug.cgi?id=729382
This commit is contained in:
parent
92b115d3e0
commit
cba79c09ac
1 changed files with 8 additions and 1 deletions
|
@ -222,7 +222,12 @@ _uri_missing_accumulator (GSignalInvocationHint * ihint, GValue * return_accu,
|
|||
{
|
||||
const gchar *ret = g_value_get_string (handler_return);
|
||||
|
||||
if (ret && gst_uri_is_valid (ret)) {
|
||||
if (ret) {
|
||||
if (!gst_uri_is_valid (ret)) {
|
||||
GST_INFO ("The uri %s was not valid, can not work with it!", ret);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
g_value_set_string (return_accu, ret);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -483,6 +488,8 @@ ges_project_try_updating_id (GESProject * project, GESAsset * asset,
|
|||
g_free (new_id);
|
||||
new_id = NULL;
|
||||
}
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (project, "No new id found for %s", id);
|
||||
}
|
||||
|
||||
g_hash_table_remove (project->priv->loading_assets, id);
|
||||
|
|
Loading…
Reference in a new issue