org.gstreamer.event
Class EOSEvent

java.lang.Object
  extended by org.gstreamer.lowlevel.NativeValue
      extended by org.gstreamer.lowlevel.Handle
          extended by org.gstreamer.lowlevel.NativeObject
              extended by org.gstreamer.lowlevel.RefCountedObject
                  extended by org.gstreamer.MiniObject
                      extended by org.gstreamer.Event
                          extended by org.gstreamer.event.EOSEvent

public class EOSEvent
extends Event

End-Of-Stream. No more data is to be expected to follow without a NewSegmentEvent.

The eos event can only travel downstream synchronized with the buffer flow. Elements that receive the EOS event on a pad can return FlowReturn.UNEXPECTED when data after the EOS event arrives.

The EOS event will travel down to the sink elements in the pipeline which will then post the Bus.EOS message on the bus after they have finished playing any buffered data.

When all sinks have posted an EOS message, an EOS message is forwarded to the application.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gstreamer.lowlevel.NativeObject
NativeObject.Initializer
 
Field Summary
 
Fields inherited from class org.gstreamer.lowlevel.NativeObject
defaultInit, LIFECYCLE, ownsHandle
 
Constructor Summary
EOSEvent()
          Creates a new EOS event.
EOSEvent(NativeObject.Initializer init)
          This constructor is for internal use only.
 
Method Summary
 
Methods inherited from class org.gstreamer.Event
getStructure
 
Methods inherited from class org.gstreamer.MiniObject
disposeNativeHandle, isWritable, makeWritable, objectFor, ref, unref
 
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
 

Constructor Detail

EOSEvent

public EOSEvent(NativeObject.Initializer init)
This constructor is for internal use only.

Parameters:
init - initialization data.

EOSEvent

public EOSEvent()
Creates a new EOS event.



Copyright © 2010. All Rights Reserved.