@remotion/webcodecs 4.0.318 → 4.0.320

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.
@@ -5671,6 +5671,9 @@ var internalExtractFrames = ({
5671
5671
  controller.abort();
5672
5672
  }
5673
5673
  }
5674
+ return async () => {
5675
+ await decoder.flush();
5676
+ };
5674
5677
  };
5675
5678
  }
5676
5679
  }).then(() => {
@@ -84,6 +84,9 @@ const internalExtractFrames = ({ src, onFrame, signal, timestampsInSeconds, ackn
84
84
  controller.abort();
85
85
  }
86
86
  }
87
+ return async () => {
88
+ await decoder.flush();
89
+ };
87
90
  };
88
91
  },
89
92
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/webcodecs",
3
- "version": "4.0.318",
3
+ "version": "4.0.320",
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/media-parser": "4.0.318",
23
- "@remotion/licensing": "4.0.318"
22
+ "@remotion/media-parser": "4.0.320",
23
+ "@remotion/licensing": "4.0.320"
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.318",
33
- "@remotion/eslint-config-internal": "4.0.318"
32
+ "@remotion/eslint-config-internal": "4.0.320",
33
+ "@remotion/example-videos": "4.0.320"
34
34
  },
35
35
  "keywords": [],
36
36
  "publishConfig": {
@@ -70,7 +70,7 @@
70
70
  "description": "Media conversion in the browser",
71
71
  "homepage": "https://remotion.dev/webcodecs",
72
72
  "scripts": {
73
- "formatting": "prettier src --check",
73
+ "formatting": "prettier --experimental-cli src --check",
74
74
  "lint": "eslint src",
75
75
  "test": "bun test src/test",
76
76
  "testwebcodecs": "playwright test src/it-tests",