projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7c658
)
project: Do not warn when resetting URI to the same one
author
Thibault Saunier
<tsaunier@igalia.com>
Mon, 9 Mar 2020 14:49:02 +0000
(11:49 -0300)
committer
Thibault Saunier
<tsaunier@igalia.com>
Mon, 9 Mar 2020 14:49:02 +0000
(11:49 -0300)
ges/ges-project.c
patch
|
blob
|
history
diff --git
a/ges/ges-project.c
b/ges/ges-project.c
index 4320fd019e31306da18f0f42acdad1fd486aa797..75b7a49413d27d87dfccf7b263c0747658dc9d09 100644
(file)
--- a/
ges/ges-project.c
+++ b/
ges/ges-project.c
@@
-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;
}