mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-09 00:17:59 +00:00
fix(player): resolve return type mismatch in parseTtml
This commit is contained in:
parent
4c527a8d8d
commit
8ebe7ccda3
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ object PlayerSubtitleCueParser {
|
|||
if (body.isBlank()) null else SubtitleSyncCue(start, body)
|
||||
}
|
||||
.sortedBy { it.startTimeMs }
|
||||
.toList()
|
||||
|
||||
private fun parseCueStart(timingLine: String): Long? {
|
||||
val startPart = timingLine.substringBefore("-->").trim()
|
||||
|
|
|
|||
Loading…
Reference in a new issue