allow opus audio (for srt compat)

This commit is contained in:
Muaz Ahmad 2023-08-25 16:04:27 +05:00
parent f98469f09b
commit 20d6bf56fb

View file

@ -62,6 +62,8 @@ class MP4Tree {
this.parse_avc1(); this.parse_avc1();
} else if (media_sample == 'mp4a') { } else if (media_sample == 'mp4a') {
this.parse_mp4a(); this.parse_mp4a();
} else if (media_sample == 'Opus') {
this.codecs.push('opus');
} else { } else {
this.codecs.push('unsup codec'); this.codecs.push('unsup codec');
} }