projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d8f744
)
project: Do not concider adding am already tracked asset as failure
author
Thibault Saunier
<tsaunier@gnome.org>
Fri, 26 Sep 2014 16:39:19 +0000
(18:39 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Mon, 10 Nov 2014 15:22:39 +0000
(16:22 +0100)
It is not really a failure, just a special case.
ges/ges-project.c
patch
|
blob
|
history
diff --git
a/ges/ges-project.c
b/ges/ges-project.c
index
7556396
..
30ddad6
100644
(file)
--- a/
ges/ges-project.c
+++ b/
ges/ges-project.c
@@
-624,7
+624,7
@@
ges_project_add_asset (GESProject * project, GESAsset * asset)
g_return_val_if_fail (GES_IS_PROJECT (project), FALSE);
if (g_hash_table_lookup (project->priv->assets, ges_asset_get_id (asset)))
- return
FALS
E;
+ return
TRU
E;
g_hash_table_insert (project->priv->assets,
g_strdup (ges_asset_get_id (asset)), gst_object_ref (asset));