Skip to content

Commit

Permalink
chore: changeset log
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen committed Aug 15, 2024
1 parent 6cc77dc commit b65cb58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eleven-hornets-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@webav/av-cliper': patch
---

fix: timeout when quick seeking
2 changes: 1 addition & 1 deletion packages/av-cliper/src/clips/mp4-clip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@ class VideoFrameFinder {
};

reset = (time?: number) => {
this.#decoding = false;
this.#videoFrames.forEach((f) => f.close());
this.#videoFrames = [];
if (time == null || time === 0) {
Expand Down Expand Up @@ -740,7 +741,6 @@ class VideoFrameFinder {
? { hardwareAcceleration: 'prefer-software' }
: {}),
});
this.#decoding = false;
};

#getState = () => ({
Expand Down

0 comments on commit b65cb58

Please sign in to comment.