|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BufferFlag>
org.gstreamer.BufferFlag
public enum BufferFlag
A set of buffer flags used to describe properties of a Buffer
.
Enum Constant Summary | |
---|---|
DELTA_UNIT
This unit cannot be decoded independently. |
|
DISCONT
The Buffer marks a discontinuity in the stream. |
|
GAP
The Buffer has been created to fill a gap in the
stream and contains media neutral data (elements can switch to optimized code
path that ignores the buffer content). |
|
IN_CAPS
The Buffer has been added as a field in a Caps . |
|
LAST
|
|
PREROLL
The Buffer is part of a preroll and should not be displayed. |
|
READONLY
The Buffer is read-only. |
|
UNKNOWN
The value used for unknown native values |
Method Summary | |
---|---|
int |
intValue()
Get the integer value of the enum. |
static BufferFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BufferFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BufferFlag READONLY
Buffer
is read-only.
This means the data of the buffer should not be modified. The metadata
might still be modified.
public static final BufferFlag PREROLL
Buffer
is part of a preroll and should not be displayed.
public static final BufferFlag DISCONT
Buffer
marks a discontinuity in the stream.
This typically occurs after a seek or a dropped buffer from a live or
network source.
public static final BufferFlag IN_CAPS
Buffer
has been added as a field in a Caps
.
public static final BufferFlag GAP
Buffer
has been created to fill a gap in the
stream and contains media neutral data (elements can switch to optimized code
path that ignores the buffer content).
public static final BufferFlag DELTA_UNIT
public static final BufferFlag LAST
public static final BufferFlag UNKNOWN
Method Detail |
---|
public static BufferFlag[] values()
for (BufferFlag c : BufferFlag.values()) System.out.println(c);
public static BufferFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic final int intValue()
intValue
in interface IntegerEnum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |