@remotion/webcodecs 4.0.322 → 4.0.324

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5652,6 +5652,7 @@ var internalExtractFrames = ({
5652
5652
  return async (sample) => {
5653
5653
  const nextTimestampWeWant = timestampTargets[0];
5654
5654
  if (sample.type === "key") {
5655
+ await decoder.flush();
5655
5656
  queued.length = 0;
5656
5657
  }
5657
5658
  queued.push(sample);
@@ -64,6 +64,7 @@ const internalExtractFrames = ({ src, onFrame, signal, timestampsInSeconds, ackn
64
64
  return async (sample) => {
65
65
  const nextTimestampWeWant = timestampTargets[0];
66
66
  if (sample.type === 'key') {
67
+ await decoder.flush();
67
68
  queued.length = 0;
68
69
  }
69
70
  queued.push(sample);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/webcodecs",
3
- "version": "4.0.322",
3
+ "version": "4.0.324",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/esm/index.mjs",
@@ -19,8 +19,8 @@
19
19
  "author": "Jonny Burger <jonny@remotion.dev>",
20
20
  "license": "Remotion License (See https://remotion.dev/docs/webcodecs#license)",
21
21
  "dependencies": {
22
- "@remotion/licensing": "4.0.322",
23
- "@remotion/media-parser": "4.0.322"
22
+ "@remotion/licensing": "4.0.324",
23
+ "@remotion/media-parser": "4.0.324"
24
24
  },
25
25
  "peerDependencies": {},
26
26
  "devDependencies": {
@@ -29,8 +29,8 @@
29
29
  "vite": "5.4.19",
30
30
  "@playwright/test": "1.51.1",
31
31
  "eslint": "9.19.0",
32
- "@remotion/example-videos": "4.0.322",
33
- "@remotion/eslint-config-internal": "4.0.322"
32
+ "@remotion/example-videos": "4.0.324",
33
+ "@remotion/eslint-config-internal": "4.0.324"
34
34
  },
35
35
  "keywords": [],
36
36
  "publishConfig": {