project: Do not warn when resetting URI to the same one
This commit is contained in:
parent
6b7c658b6a
commit
5ea914a575
@ -190,7 +190,8 @@ ges_project_set_uri (GESProject * project, const gchar * uri)
|
||||
|
||||
priv = project->priv;
|
||||
if (priv->uri) {
|
||||
GST_WARNING_OBJECT (project, "Trying to rest URI, this is prohibited");
|
||||
if (g_strcmp0 (priv->uri, uri))
|
||||
GST_WARNING_OBJECT (project, "Trying to reset URI, this is prohibited");
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user