Element.sendEvent

Sends an event to an element. If the element doesn't implement an event handler, the event will be pushed on a random linked sink pad for upstream events or a random linked source pad for downstream events. This function takes owership of the provided event so you should gst_event_ref() it if you want to reuse the event after this call.

class Element
int
sendEvent

Parameters

event Event

the GstEvent to send to the element.

Return Value

Type: int

TRUE if the event was handled. MT safe.

Meta