From ea76d39738c3dcf31f4a4ecd1a452629c18061a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 21 Jan 2015 18:47:09 -0500 Subject: [PATCH] aggregator: Document how the segment is protected Document that it can only be accessed with the object lock. https://bugzilla.gnome.org/show_bug.cgi?id=742684 --- gst-libs/gst/base/gstaggregator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/base/gstaggregator.h b/gst-libs/gst/base/gstaggregator.h index 636e84e362..2242d2888e 100644 --- a/gst-libs/gst/base/gstaggregator.h +++ b/gst-libs/gst/base/gstaggregator.h @@ -135,6 +135,7 @@ struct _GstAggregator GstPad * srcpad; + /* Only access with the object lock held */ GstSegment segment; /*< private >*/