Caps.mapInPlace

bool mapInPlace(gst.types.CapsMapFunc func)

Calls the provided function once for each structure and caps feature in the #GstCaps. In contrast to [gst.caps.Caps.foreach_], the function may modify but not delete the structures and features. The caps must be mutable.

Parameters

funca function to call for each field

Returns

true if the supplied function returns true for each call,

false otherwise.