Caps.foreach_

Calls the provided function once for each structure and caps feature in the #GstCaps. The function must not modify the fields. Also see gst.caps.Caps.mapInPlace and gst.caps.Caps.filterAndMapInPlace.

class Caps
bool
foreach_

Parameters

func gst.types.CapsForeachFunc

a function to call for each field

Return Value

Type: bool

true if the supplied function returns true for each call, false otherwise.