Bug 1611622 - Add a decode test for an OGG Vorbis file with a nil packet at EOS. r=bryce

The test file was created using VLC, that has a muxer that does this.

Differential Revision: https://phabricator.services.mozilla.com/D71351
This commit is contained in:
Paul Adenot 2020-04-17 17:56:45 +00:00
Родитель d4b4cd9dee
Коммит 88b9f51e9b
3 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -14,6 +14,7 @@ support-files =
file_nodeCreationDocumentGone.html
invalid.txt
layouttest-glue.js
nil-packet.ogg
noaudio.webm
small-shot-expected.wav
small-shot-mono-expected.wav

Двоичные данные
dom/media/webaudio/test/nil-packet.ogg Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -203,6 +203,15 @@ var files = [
duration: 1.0807,
fuzzTolerance: 106,
fuzzToleranceMobile: 3482
},
{
url: "nil-packet.ogg",
expectedUrl: null,
valid: true,
numberOfChannels: 2,
sampleRate: 48000,
frames: 18600,
duration: 0.3874,
}
];