Class SubtitleInputBuffer
- java.lang.Object
-
- com.google.android.exoplayer2.decoder.Buffer
-
- com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- com.google.android.exoplayer2.text.SubtitleInputBuffer
-
@Deprecated public class SubtitleInputBuffer extends DecoderInputBuffer
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.ADecoderInputBuffer
for aSubtitleDecoder
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer
DecoderInputBuffer.BufferReplacementMode, DecoderInputBuffer.InsufficientCapacityException
-
-
Field Summary
Fields Modifier and Type Field Description long
subsampleOffsetUs
Deprecated.An offset that must be added to the subtitle's event times after it's been decoded, orFormat.OFFSET_SAMPLE_RELATIVE
ifDecoderInputBuffer.timeUs
should be added.-
Fields inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer
BUFFER_REPLACEMENT_MODE_DIRECT, BUFFER_REPLACEMENT_MODE_DISABLED, BUFFER_REPLACEMENT_MODE_NORMAL, cryptoInfo, data, format, supplementalData, timeUs, waitingForKeys
-
-
Constructor Summary
Constructors Constructor Description SubtitleInputBuffer()
Deprecated.
-
Method Summary
-
Methods inherited from class com.google.android.exoplayer2.decoder.DecoderInputBuffer
clear, ensureSpaceForWrite, flip, isEncrypted, newNoDataInstance, resetSupplementalData
-
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isFirstSample, isKeyFrame, isLastSample, setFlags
-
-
-
-
Field Detail
-
subsampleOffsetUs
public long subsampleOffsetUs
Deprecated.An offset that must be added to the subtitle's event times after it's been decoded, orFormat.OFFSET_SAMPLE_RELATIVE
ifDecoderInputBuffer.timeUs
should be added.
-
-