Caps.filterAndMapInPlace

void filterAndMapInPlace(gst.types.CapsFilterMapFunc 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 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.

Parameters

funca function to call for each field