Gst.PadStickyEventsForeachFunction

Callback used by Gst.Pad.prototype.sticky_events_foreach.

When this function returns true, the next event will be returned. When false is returned, Gst.Pad.prototype.sticky_events_foreach will return.

When event is set to NULL, the item will be removed from the list of sticky events. When event has been made writable, the new buffer reference can be assigned to event. This function is responsible for unreffing the old event when removing or modifying.