* make sure the assetid_pendingtlobjs will use it */
ges_asset_request_async (ges_asset_get_extractable_type (source),
possible_id, NULL, (GAsyncReadyCallback) new_asset_cb, passet);
+ ges_project_add_loading_asset (GES_FORMATTER (self)->project,
+ ges_asset_get_extractable_type (source), possible_id);
pendings = g_hash_table_lookup (priv->assetid_pendingtlobjs, id);
if (pendings) {
}
}
+ g_hash_table_remove (project->priv->loading_assets, ges_asset_get_id (asset));
+
return new_id;
}
return;
}
- ges_asset_request_async (ges_asset_get_extractable_type (source),
- possible_id, NULL, (GAsyncReadyCallback) new_asset_cb, project);
+
+ ges_project_create_asset (project, possible_id,
+ ges_asset_get_extractable_type (source));
g_free (possible_id);
g_error_free (error);