org.gstreamer.event
Class StepEvent

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.StepEvent

public class StepEvent
extends Event

StepEvent. The purpose of the step event is to instruct a sink to skip amount (expressed in format) of media. It can be used to implement stepping through the video frame by frame or for doing fast trick modes. A rate of <= 0.0 is not allowed, pause the pipeline or reverse the playback direction of the pipeline to get the same effect. The flush flag will clear any pending data in the pipeline before starting the step operation. The intermediate flag instructs the pipeline that this step operation is part of a larger step operation.


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
StepEvent(Format format, long amount, double rate, boolean flush, boolean intermediate)
          Creates a new StepEvent event.
StepEvent(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

StepEvent

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

Parameters:
init - initialization data.

StepEvent

public StepEvent(Format format,
                 long amount,
                 double rate,
                 boolean flush,
                 boolean intermediate)
Creates a new StepEvent event.

Parameters:
format - the format of amount
amount - the amount of data to step
rate - the step rate
flush - flushing steps
intermediate - intermediate steps


Copyright © 2010. All Rights Reserved.