Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot

The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.

--HG--
extra : rebase_source : f62cf69a631a276c4e6e96e827ab615367cad877
This commit is contained in:
Thomas Zimmermann 2013-08-07 18:54:04 +02:00
Родитель c78497c07a
Коммит ac806b131f
2 изменённых файлов: 1 добавлений и 0 удалений

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

@ -42,6 +42,7 @@ var gPlayedTests = [
{ name:"seek.webm", type:"video/webm", duration:3.966 }, { name:"seek.webm", type:"video/webm", duration:3.966 },
{ name:"gizmo.mp4", type:"video/mp4", duration:5.56 }, { name:"gizmo.mp4", type:"video/mp4", duration:5.56 },
{ name:"owl.mp3", type:"audio/mpeg", duration:3.29 }, { name:"owl.mp3", type:"audio/mpeg", duration:3.29 },
{ name:"vbr.mp3", type:"audio/mpeg", duration:10.0 }
]; ];
// Used by test_mozLoadFrom. Need one test file per decoder backend, plus // Used by test_mozLoadFrom. Need one test file per decoder backend, plus

Двоичные данные
content/media/test/vbr.mp3 Normal file

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