org.gstreamer
Class SeekFlags

java.lang.Object
  extended by org.gstreamer.SeekFlags

public final class SeekFlags
extends java.lang.Object

Flags to be used with seek or SeekEvent

All flags can be used together.

A non flushing seek might take some time to perform as the currently playing data in the pipeline will not be cleared.

An accurate seek might be slower for formats that don't have any indexes or timestamp markers in the stream. Specifying this flag might require a complete scan of the file in those cases.

When performing a segment seek: after the playback of the segment completes, no EOS will be emitted by the element that performed the seek, but a Bus.SEGMENT_DONE message will be posted on the bus by the element. When this message is posted, it is possible to send a new seek event to continue playback. With this seek method it is possible to perform seamless looping or simple linear editing.


Field Summary
static int ACCURATE
          Accurate position is requested, this might be considerably slower for some formats.
static int FLUSH
          Flush pipeline.
static int KEY_UNIT
          Seek to the nearest keyframe.
static int NONE
          No flag.
static int SEGMENT
          Perform a segment seek.
 
Constructor Summary
SeekFlags()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
No flag.

See Also:
Constant Field Values

FLUSH

public static final int FLUSH
Flush pipeline.

See Also:
Constant Field Values

ACCURATE

public static final int ACCURATE
Accurate position is requested, this might be considerably slower for some formats.

See Also:
Constant Field Values

KEY_UNIT

public static final int KEY_UNIT
Seek to the nearest keyframe. This might be faster but less accurate.

See Also:
Constant Field Values

SEGMENT

public static final int SEGMENT
Perform a segment seek.

See Also:
Constant Field Values
Constructor Detail

SeekFlags

public SeekFlags()