mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
project: Do not concider adding am already tracked asset as failure
It is not really a failure, just a special case.
This commit is contained in:
parent
6d8f744f7f
commit
e8fd816e33
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue