mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
gstcollectpads: Fix docs about GstCollectData list
Add to the docs the fact that is only safe to iterate GstCollectPad's data list inside the collected callback. Fixes #610366
This commit is contained in:
parent
9eaf20631c
commit
ac9bfe25ae
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue