public final class SubtitleInputBuffer extends DecoderInputBuffer implements Comparable<SubtitleInputBuffer>
DecoderInputBuffer
for a SubtitleDecoder
.DecoderInputBuffer.BufferReplacementMode
Modifier and Type | Field and Description |
---|---|
long |
subsampleOffsetUs
An offset that must be added to the subtitle's event times after it's been decoded, or
Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added. |
BUFFER_REPLACEMENT_MODE_DIRECT, BUFFER_REPLACEMENT_MODE_DISABLED, BUFFER_REPLACEMENT_MODE_NORMAL, cryptoInfo, data, timeUs
Constructor and Description |
---|
SubtitleInputBuffer() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SubtitleInputBuffer other) |
clear, ensureSpaceForWrite, flip, isEncrypted
addFlag, clearFlag, getFlag, isDecodeOnly, isEndOfStream, isKeyFrame, setFlags
public long subsampleOffsetUs
Format.OFFSET_SAMPLE_RELATIVE
if DecoderInputBuffer.timeUs
should be added.public int compareTo(SubtitleInputBuffer other)
compareTo
in interface Comparable<SubtitleInputBuffer>