Event.flush_start
Description:
[ CCode ( has_construct_function = false ) ]
public Event.flush_start ()
public Event.flush_start ()
Allocate a new flush start event.
The flush start event can be sent upstream and downstream and travels out-of-bounds with the dataflow.
It marks pads as being flushing and will make them return FLUSHING
when used for data flow with push,
chain, get_range
and pull_range. Any event (except a
FLUSH_STOP) received on a flushing pad will return false
immediately.
Elements should unlock any blocking functions and exit their streaming functions as fast as possible when this event is received.
This event is typically generated after a seek to flush out all queued data in the pipeline so that the new media is played as soon as possible.
Returns:
a new flush start event. |