Caps.mapInPlace

Calls the provided function once for each structure and caps feature in the gstreamer.Caps In contrast to Caps.foreach, the function may modify but not delete the structures and features. The caps must be mutable.

class Caps
bool
mapInPlace

Parameters

func GstCapsMapFunc

a function to call for each field

userData void*

private data

Return Value

Type: bool

TRUE if the supplied function returns TRUE for each call, FALSE otherwise.

Meta