org.gstreamer.event
Class StepEvent
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.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.
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 |
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 amountamount
- the amount of data to steprate
- the step rateflush
- flushing stepsintermediate
- intermediate steps
Copyright © 2010. All Rights Reserved.