Bug 1493400 - Test av1 video using dav1d has the correct number of frames. r=jya

Differential Revision: https://phabricator.services.mozilla.com/D12637

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Alex Chronopoulos 2018-11-27 14:19:02 +00:00
Родитель 5dab77d453
Коммит 6a1e10853e
2 изменённых файлов: 3 добавлений и 1 удалений

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

@ -54,6 +54,7 @@ var gFrameCountTests = [
{ name:"seek-short.webm", type:"video/webm", totalFrameCount:8},
{ name:"seek.webm", type:"video/webm", totalFrameCount:120},
{ name:"320x240.ogv", type:"video/ogg", totalFrameCount:8},
{ name:"av1.mp4", type:"video/mp4", totalFrameCount:24},
];
if (SpecialPowers.Services.appinfo.name != "B2G") {

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

@ -32,7 +32,8 @@ SimpleTest.waitForExplicitFinish();
SpecialPowers.pushPrefEnv(
{
"set": [
["media.decoder.skip-to-next-key-frame.enabled", false]
["media.decoder.skip-to-next-key-frame.enabled", false],
["media.av1.use-dav1d", true]
]
},
function() {