mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 21:36:35 +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.
|
* @data: #GList of #GstCollectData managed by this #GstCollectPads.
|
||||||
*
|
*
|
||||||
* Collectpads object.
|
* Collectpads object.
|
||||||
* Note that @data doesn't contain the complete #GstCollectData list
|
* Note that @data is only reliable for iterating the list of #GstCollectData
|
||||||
* at all times and should not be used for iterating them.
|
* when inside the #GstCollectPadsFunction callback.
|
||||||
*/
|
*/
|
||||||
struct _GstCollectPads {
|
struct _GstCollectPads {
|
||||||
GstObject object;
|
GstObject object;
|
||||||
|
|
Loading…
Reference in a new issue