add eac3 as unsupported audio format

pull/1849/head
Mikael Finstad 3 years ago
parent 43fe553bd3
commit 83c910a0fd
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -289,7 +289,7 @@ export function isAudioDefinitelyNotSupported(streams) {
const audioStreams = getAudioStreams(streams);
if (audioStreams.length === 0) return false;
// TODO this could be improved
return audioStreams.every(stream => ['ac3'].includes(stream.codec_name));
return audioStreams.every((stream) => ['ac3', 'eac3'].includes(stream.codec_name));
}
export function getVideoTimebase(videoStream) {

Loading…
Cancel
Save