From e8fd816e33248ddde6bea09c1e5b4a38c1c2c88d Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 26 Sep 2014 18:39:19 +0200 Subject: [PATCH] project: Do not concider adding am already tracked asset as failure It is not really a failure, just a special case. --- ges/ges-project.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));