Caps.filterAndMapInPlace

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 the structure and features. In contrast to gst.caps.Caps.mapInPlace, the structure and features are removed from the caps if false is returned from the function. The caps must be mutable.

class Caps
void
filterAndMapInPlace

Parameters

func gst.types.CapsFilterMapFunc

a function to call for each field