OpenCut/apps/web
Abelino Chavez 80b229c3bf fix: properly dispose WebCodecs resources in video cache (#663)
The VideoCache was creating Input objects but not storing them,
so input.dispose() was never called. This caused WebCodecs
VideoDecoder resources to leak, leading to browser crashes
during video playback.

Changes:
- Store Input object in VideoSinkData
- Call input.dispose() on initialization errors
- Call input.dispose() when clearing video from cache
- Clear frame references when disposing

This follows the same pattern as AudioManager which properly
manages Input disposal.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-23 17:52:33 -06:00
..
migrations feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
public feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
scripts feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
src fix: properly dispose WebCodecs resources in video cache (#663) 2026-02-23 17:52:33 -06:00
.env.example docker + update readme 2026-02-23 09:38:38 +01:00
.gitignore feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
Dockerfile docker + update readme 2026-02-23 09:38:38 +01:00
components.json feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
drizzle.config.ts feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
next-env.d.ts next-env.d.ts 2026-02-01 11:31:37 +01:00
next.config.ts feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
package.json feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
postcss.config.mjs feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
tsconfig.json feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
tsconfig.tsbuildinfo codebase overhaul (#697) 2026-01-31 00:20:04 +01:00