org.gstreamer
Class Segment

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

public final class Segment
extends java.lang.Object

A representation of the values used in querying the pipeline using gst_query_new_segment() and subsequently gst_query_parse_segment().


Method Summary
 Format getFormat()
          Gets the Format of the segment values.
 double getRate()
          Gets the rate of the segment.
 long getStartValue()
          Gets the start value.
 long getStopValue()
          Gets the stop value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRate

public double getRate()
Gets the rate of the segment.

Returns:
The rate of the segment.

getFormat

public Format getFormat()
Gets the Format of the segment values.

Returns:
The Format of the segment values.

getStartValue

public long getStartValue()
Gets the start value.

Returns:
The start value.

getStopValue

public long getStopValue()
Gets the stop value.

Returns:
The stop value.