这是indexloc提供的服务,不要输入任何密码
Skip to content

SsaDecoder does not support utf-16 encoded ass files #319

@viqbgrg

Description

@viqbgrg

Media3 Version

Media3 1.0.0

Devices that reproduce the issue

redmi k30pro running android 12

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

SsaDecoder uses utf8 by default, if you play subtitles in utf16 encoding format, there will be problems

Expected result

ass subtitles display normally

Actual result

SsaDecoder's parseHeader method equalsIgnoreCase cannot judge equality normally

Media

ass

Bug Report

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions