public final class SubripDecoder extends SimpleSubtitleDecoder
SimpleSubtitleDecoder
for SubRip.Constructor and Description |
---|
SubripDecoder() |
Modifier and Type | Method and Description |
---|---|
protected com.google.android.exoplayer2.text.subrip.SubripSubtitle |
decode(byte[] bytes,
int length)
Decodes data into a
Subtitle . |
createInputBuffer, createOutputBuffer, decode, getName, releaseOutputBuffer, setPositionUs
dequeueInputBuffer, dequeueOutputBuffer, flush, queueInputBuffer, release, setInitialInputBufferSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dequeueInputBuffer, dequeueOutputBuffer, flush, queueInputBuffer, release
protected com.google.android.exoplayer2.text.subrip.SubripSubtitle decode(byte[] bytes, int length)
SimpleSubtitleDecoder
Subtitle
.decode
in class SimpleSubtitleDecoder
bytes
- An array holding the data to be decoded, starting at position 0.length
- The size of the data to be decoded.Subtitle
.