public enum BufferFlag extends java.lang.Enum<BufferFlag>
BufferFlag
.Enum Constant and Description |
---|
DISCARD
Indicates that the data in this buffer should be ignored.
|
END_OF_MEDIA
Indicates that the data in this buffer is at the end of the media.
|
KEYFRAME
Indicates that this Buffer holds an intra-coded picture, which can be
decoded independently.
|
PREFETCH
Indicates that the data in this buffer is used for initializing the
decoding queue.
|
SAME_DATA
Indicates that this buffer is known to have the same data as the
previous buffer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final BufferFlag DISCARD
public static final BufferFlag KEYFRAME
public static final BufferFlag END_OF_MEDIA
public static final BufferFlag PREFETCH
This flag is used when the media time of a track is set to a non-keyframe sample. Thus decoding must start at a keyframe at an earlier time.
Decoders should decode the buffer. Encoders and Multiplexers should discard the buffer.
public static final BufferFlag SAME_DATA
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 namejava.lang.NullPointerException
- if the argument is null