DelegatingSubtitleDecoder

We need to convert the newer SubtitleParser to an older SubtitleDecoder

Constructors

Link copied to clipboard
constructor(name: String, parser: SubtitleParser)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected fun decode(inputBuffer: SubtitleInputBuffer, outputBuffer: SubtitleOutputBuffer, reset: Boolean): SubtitleDecoderException?
protected open override fun decode(data: ByteArray, length: Int, reset: Boolean): Subtitle
Link copied to clipboard
fun flush()
Link copied to clipboard
protected fun isAtLeastOutputStartTimeUs(timeUs: Long): Boolean
Link copied to clipboard
Link copied to clipboard
open fun release()
Link copied to clipboard
protected open fun releaseOutputBuffer(outputBuffer: SubtitleOutputBuffer)
Link copied to clipboard
protected fun setInitialInputBufferSize(size: Int)
Link copied to clipboard
fun setOutputStartTimeUs(outputStartTimeUs: Long)
Link copied to clipboard
open fun setPositionUs(positionUs: Long)