SubtitleDecoder
@UnstableApi
public interface SubtitleDecoder extends Decoder
Cea608Decoder |
A |
Cea708Decoder |
A |
SimpleSubtitleDecoder |
Base class for subtitle parsers that use their own decode thread. |
Decodes Subtitles from SubtitleInputBuffers.
Summary
Public methods |
|
|---|---|
abstract void |
setPositionUs(long positionUs)Informs the decoder of the current playback position. |
Inherited methods |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public methods
setPositionUs
abstract void setPositionUs(long positionUs)
Informs the decoder of the current playback position.
Must be called prior to each attempt to dequeue output buffers from the decoder.
| Parameters | |
|---|---|
long positionUs |
The current playback position in microseconds. |