aggregator: Document how the segment is protected
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 21 Jan 2015 23:47:09 +0000 (18:47 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 2 Dec 2017 15:10:26 +0000 (15:10 +0000)
Document that it can only be accessed with the object lock.

https://bugzilla.gnome.org/show_bug.cgi?id=742684

libs/gst/base/gstaggregator.h

index 636e84e362e03e9fbebbf163aca0f8c05bcb7e77..2242d2888ecaa0fc481a9820858f311cd24a3569 100644 (file)
@@ -135,6 +135,7 @@ struct _GstAggregator
 
   GstPad                *  srcpad;
 
+  /* Only access with the object lock held */
   GstSegment               segment;
 
   /*< private >*/