gstcollectpads: Fix docs about GstCollectData list
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 12 Aug 2010 19:05:35 +0000 (16:05 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 12 Aug 2010 19:05:35 +0000 (16:05 -0300)
Add to the docs the fact that is only safe to iterate
GstCollectPad's data list inside the collected callback.

Fixes #610366

libs/gst/base/gstcollectpads.h

index a19ce99..939c2f6 100644 (file)
@@ -130,8 +130,8 @@ typedef GstFlowReturn (*GstCollectPadsFunction) (GstCollectPads *pads, gpointer
  * @data: #GList of #GstCollectData managed by this #GstCollectPads.
  *
  * Collectpads object.
- * Note that @data doesn't contain the complete #GstCollectData list
- * at all times and should not be used for iterating them.
+ * Note that @data is only reliable for iterating the list of #GstCollectData
+ * when inside the #GstCollectPadsFunction callback.
  */
 struct _GstCollectPads {
   GstObject      object;