From: Thibault Saunier Date: Fri, 26 Sep 2014 16:39:19 +0000 (+0200) Subject: project: Do not concider adding am already tracked asset as failure X-Git-Tag: 1.19.3~493^2~1346 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8fd816e33248ddde6bea09c1e5b4a38c1c2c88d;p=platform%2Fupstream%2Fgstreamer.git project: Do not concider adding am already tracked asset as failure It is not really a failure, just a special case. --- diff --git a/ges/ges-project.c b/ges/ges-project.c index 7556396eda..30ddad6f3a 100644 --- 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 FALSE; + return TRUE; g_hash_table_insert (project->priv->assets, g_strdup (ges_asset_get_id (asset)), gst_object_ref (asset));