foreach_src_pad


Description:

[ Version ( since = "1.14" ) ]
public bool foreach_src_pad (ElementForeachPadFunc func)

Call func with user_data for each of this's source pads.

func will be called exactly once for each source pad that exists at the time of this call, unless one of the calls to func returns false in which case we will stop iterating pads and return early. If new source pads are added or source pads are removed while the source pads are being iterated, this will not be taken into account until next time this function is used.

Parameters:

this

a Element to iterate source pads of

func

function to call for each source pad

user_data

user data passed to func

Returns:

false if this had no source pads or if one of the calls to func returned false.