From c454969524d5b6b474f0dd606f1376c9c2035177 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 18 Feb 2020 16:31:15 -0300 Subject: [PATCH] ges: Deprecate the GESTimeline::track field It is not MT safe to access it, and user should use the proper getter --- ges/ges-timeline.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ges/ges-timeline.h b/ges/ges-timeline.h index 35bae53a87..7ebe3f0df0 100644 --- a/ges/ges-timeline.h +++ b/ges/ges-timeline.h @@ -61,7 +61,8 @@ typedef struct _GESTimelinePrivate GESTimelinePrivate; /** * GESTimeline: * @layers: (element-type GES.Layer): A list of #GESLayer sorted by priority NOTE: Do not modify. - * @tracks: (element-type GES.Track): A list of #GESTrack sorted by priority NOTE: Do not modify. + * @tracks: Deprecated:1.10: (element-type GES.Track): This is not thread safe, use + * #ges_timeline_get_tracks instead. */ struct _GESTimeline { GstBin parent;