Add support for remaining audio codecs to Matroska muxer

This commit is contained in:
Vanilagy
2025-01-06 21:09:12 +01:00
parent 7c65c2e7e9
commit 00408c86ff
6 changed files with 95 additions and 39 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export class Mp4InputFormat extends IsobmffInputFormat {
/** @internal */
override async _canReadInput(input: Input) {
const majorBrand = await this._getMajorBrand(input);
return majorBrand !== 'qt ';
return !!majorBrand && majorBrand !== 'qt ';
}
getName() {