bilibili / WebAV

WebAV is an SDK built on WebCodecs, designed for creating and editing video files on the web platform. WebAV 是基于 WebCodecs 构建的 SDK,用于在 Web 平台上创建/编辑视频文件。
https://bilibili.github.io/WebAV/
MIT License
1.19k stars 121 forks source link

fix: preFirstFrame when VisibleSprite is ready #246

Closed caohongz closed 2 months ago

caohongz commented 2 months ago

添加VisibleSprite时ready后获取首帧,避免视频分割等操作后offset不为0时首帧异常。 fix #245

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: ff44ed91b5bacc55dd90235f57354933fc3431a6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages | Name | Type | | ------------------ | ----- | | @webav/av-cliper | Patch | | @webav/av-canvas | Patch | | @webav/av-recorder | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

hughfenghen commented 2 months ago

我重现了问题,但改动的这行代码似乎无效

caohongz commented 2 months ago

我重现了问题,但改动的这行代码似乎无效

我再查找一下,我这边是能解决问题的。

caohongz commented 2 months ago

我重现了问题,但改动的这行代码似乎无效

我再查找一下,我这边是能解决问题的。

@hughfenghen 确实还是有问题,我继续解决。