Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3678>
/**
* ges_pipeline_set_timeline:
* @pipeline: A #GESPipeline
- * @timeline: (transfer full): The timeline to set for @pipeline
+ * @timeline: (transfer floating): The timeline to set for @pipeline
*
* Takes the given timeline and sets it as the #GESPipeline:timeline for
* the pipeline.
/**
* ges_timeline_add_track:
* @timeline: The #GESTimeline
- * @track: (transfer full): The track to add
+ * @track: (transfer floating): The track to add
*
* Add a track to the timeline.
*
if (G_UNLIKELY (g_list_find (timeline->tracks, (gconstpointer) track))) {
UNLOCK_DYN (timeline);
GST_WARNING ("Track is already controlled by this timeline");
+ gst_object_ref_sink (track);
+ gst_object_unref (track);
return FALSE;
}