public enum BufferFlags extends Enum<BufferFlags> implements NativeFlags<BufferFlags>
Buffer.| Enum Constant and Description |
|---|
CORRUPTED
the
Buffer data is corrupted. |
DECODE_ONLY
the
Buffer contains data that should be dropped
because it will be clipped against the segment
boundaries or because it does not contain data
that should be shown to the user. |
DELTA_UNIT
This unit cannot be decoded independently.
|
DISCONT
The
Buffer marks a discontinuity in the stream. |
DROPPABLE
the
Buffer can be dropped without breaking the stream, for example to reduce bandwidth. |
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). |
HEADER
he buffer contains header information that is needed to decode the following data.
|
LAST |
LIVE
the
Buffer is live data and should be discarded in the PAUSED state. |
MARKER
the buffer contains a media specific marker.
|
NON_DROPPABLE
This buffer is important and should not be dropped.
|
RESYNC
The
Buffer timestamps might have a discontinuity and this buffer is a good point to resynchronize. |
SYNC_AFTER
Elements which write to disk or permanent storage should ensure the data is synced after writing the contents of this
Buffer. |
TAG_MEMORY
this flag is set when memory of the
Buffer is added/removed |
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Get the integer value of the enum.
|
static BufferFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromInt, toInt, toIntfromInt, fromIntpublic static final BufferFlags LIVE
Buffer is live data and should be discarded in the PAUSED state.public static final BufferFlags DECODE_ONLY
Buffer contains data that should be dropped
because it will be clipped against the segment
boundaries or because it does not contain data
that should be shown to the user.public static final BufferFlags 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 BufferFlags RESYNC
Buffer timestamps might have a discontinuity and this buffer is a good point to resynchronize.public static final BufferFlags CORRUPTED
Buffer data is corrupted.public static final BufferFlags MARKER
public static final BufferFlags HEADER
public static final BufferFlags 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 BufferFlags DROPPABLE
Buffer can be dropped without breaking the stream, for example to reduce bandwidth.public static final BufferFlags DELTA_UNIT
public static final BufferFlags TAG_MEMORY
Buffer is added/removedpublic static final BufferFlags SYNC_AFTER
Buffer. (Since 1.6)@Gst.Since(minor=14) public static final BufferFlags NON_DROPPABLE
public static final BufferFlags LAST
public static BufferFlags[] values()
for (BufferFlags c : BufferFlags.values()) System.out.println(c);
public static BufferFlags valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int intValue()
intValue in interface NativeEnum<BufferFlags>Copyright © 2021 gstreamer-java. All rights reserved.