* @project: the #GESProject on which a problem happend when creted a #GESAsset
* @timeline: The timeline that failed loading
* @error: The #GError defining the error that occured
- *
+ *
* Since: 1.18
*/
_signals[ERROR_LOADING] =
return;
}
- ges_asset_finish_proxy (asset);
- ges_project_add_asset (project, asset);
- if (asset)
+ if (asset) {
+ ges_asset_finish_proxy (asset);
+ ges_project_add_asset (project, asset);
gst_object_unref (asset);
+ }
}
/**
return FALSE;
}
-
gboolean
timeline_trim_object (GESTimeline * timeline, GESTimelineElement * object,
guint32 new_layer_priority, GList * layers, GESEdge edge, guint64 position)