Skip to content

在添加外部字幕文件后onSubtitleText回调异常 #334

@axojhf

Description

@axojhf

Describe the bug
先使用setMedia设置视频文件,再使用setMedia设置了一个ass字幕,再开始播放,观察到字幕的数据很快就从callback里全部回调出了,并没有按照视频的时间在对应位置回调,后续播放过程中字幕是正常加载显示的,但是对应时间就没有字幕的回调了

To Reproduce
先设置一个回调打印字幕信息
再使用setMedia设置视频文件
再使用setMedia设置了一个ass字幕
再开始播放

Expected behavior
加载外部字幕后,字幕应该也要在预期的视频时间产生回调
Environment:

  • OS: Windows 11 24H2
  • GPU:

Log

Crash

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions