org.gstreamer.event
Class FlushStartEvent
java.lang.Object
org.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.lowlevel.RefCountedObject
org.gstreamer.MiniObject
org.gstreamer.Event
org.gstreamer.event.FlushStartEvent
public class FlushStartEvent
- extends Event
Start a flush operation.
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.WRONG_STATE
when used for data flow with Pad#push
,
Pad#chain
, Pad#allocBuffer
, Pad#getRange
and
Pad#pullRange
. 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.
Methods inherited from class org.gstreamer.lowlevel.NativeObject |
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, initializer, instanceFor, invalidate, isDisposed, nativeValue, objectFor, objectFor, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
FlushStartEvent
public FlushStartEvent(NativeObject.Initializer init)
- This constructor is for internal use only.
- Parameters:
init
- initialization data.
FlushStartEvent
public FlushStartEvent()
- Creates a new flush start event.