public class FlushStartEvent extends Event
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstEvent.html#gst-event-new-flush-start
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
FlowReturn.FLUSHING when used for data flow with Pad.pushEvent(org.freedesktop.gstreamer.event.Event),
Pad.chain(org.freedesktop.gstreamer.Buffer), Pad.getRange(long, int, org.freedesktop.gstreamer.Buffer[]) and Pad.pullRange(long, int, org.freedesktop.gstreamer.Buffer[]). Any event
(except a FlushStopEvent) 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.
Event.TypesMiniObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>GTYPE_NAME| Constructor and Description |
|---|
FlushStartEvent()
Creates a new flush start event.
|
getStructurecopy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringCopyright © 2021 gstreamer-java. All rights reserved.