|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.lowlevel.RefCountedObject
org.gstreamer.MiniObject
org.gstreamer.Message
org.gstreamer.message.BufferingMessage
public class BufferingMessage
This message can be posted by an element that
needs to buffer data before it can continue processing. percent
should be a
value between 0 and 100. A value of 100 means that the buffering completed.
When percent} is < 100 the application should PAUSE a PLAYING pipeline. When
percent is 100, the application can set the pipeline (back) to PLAYING.
The application must be prepared to receive BUFFERING messages in the
PREROLLING state and may only set the pipeline to PLAYING after receiving a
message with percent set to 100, which can happen after the pipeline
completed prerolling.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gstreamer.lowlevel.NativeObject |
---|
org.gstreamer.lowlevel.NativeObject.Initializer |
Field Summary |
---|
Fields inherited from class org.gstreamer.Message |
---|
messageStruct |
Fields inherited from class org.gstreamer.lowlevel.NativeObject |
---|
defaultInit, LIFECYCLE, ownsHandle |
Constructor Summary | |
---|---|
BufferingMessage(GstObject src,
int percent)
Creates a new Buffering message. |
|
BufferingMessage(org.gstreamer.lowlevel.NativeObject.Initializer init)
Creates a new Buffering message. |
Method Summary | |
---|---|
int |
getPercent()
Gets the buffering percentage. |
Methods inherited from class org.gstreamer.Message |
---|
copy, getSource, getStructure, getType, makeWritable |
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 |
---|
public BufferingMessage(org.gstreamer.lowlevel.NativeObject.Initializer init)
init
- internal initialization data.public BufferingMessage(GstObject src, int percent)
src
- The object originating the message.Method Detail |
---|
public int getPercent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |