diff --git a/core/util/browser.js b/core/util/browser.js index fc1b77f9..63596d21 100644 --- a/core/util/browser.js +++ b/core/util/browser.js @@ -117,7 +117,7 @@ async function _checkWebCodecsH264DecodeSupport() { let error = null; let decoder = new VideoDecoder({ - output: (frame) => { gotframe = true; }, + output: (frame) => { gotframe = true; frame.close(); }, error: (e) => { error = e; }, }); let chunk = new EncodedVideoChunk({