chore: small cleanups

This commit is contained in:
Simon Chan 2024-11-29 22:40:08 +08:00
parent 6ae5f38af1
commit ea5002bc87
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
33 changed files with 55 additions and 46 deletions

View file

@ -41,6 +41,7 @@ export class H265Decoder extends H26xDecoder {
].join(".");
this.#decoder.configure({
codec,
// Microsoft Edge requires explicit size to work
codedWidth: croppedWidth,
codedHeight: croppedHeight,
optimizeForLatency: true,