From 4509d20bacb484793c730cd1b3d0fc2dffd124c5 Mon Sep 17 00:00:00 2001 From: Chris Pearce Date: Fri, 19 Oct 2012 20:09:09 +1300 Subject: [PATCH] Bug 803427 - Correct duration of gizmo.mp4 in media mochitests. r=doublec --- content/media/test/manifest.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/media/test/manifest.js b/content/media/test/manifest.js index 9b4b5badab59..48c59f75e6e8 100644 --- a/content/media/test/manifest.js +++ b/content/media/test/manifest.js @@ -10,7 +10,7 @@ var gSmallTests = [ { name:"320x240.ogv", type:"video/ogg", width:320, height:240, duration:0.266 }, { name:"seek.webm", type:"video/webm", width:320, height:240, duration:3.966 }, { name:"detodos.opus", type:"audio/ogg; codecs=opus", duration:2.9135 }, - { name:"gizmo.mp4", type:"video/mp4", duration:5.0 }, + { name:"gizmo.mp4", type:"video/mp4", duration:5.56 }, { name:"bogus.duh", type:"bogus/duh" } ]; @@ -22,7 +22,7 @@ var gProgressTests = [ { name:"seek.ogv", type:"video/ogg", duration:3.966, size:285310 }, { name:"320x240.ogv", type:"video/ogg", width:320, height:240, duration:0.266, size:28942 }, { name:"seek.webm", type:"video/webm", duration:3.966, size:215529 }, - { name:"gizmo.mp4", type:"video/mp4", duration:5.0, size:383631 }, + { name:"gizmo.mp4", type:"video/mp4", duration:5.56, size:383631 }, { name:"bogus.duh", type:"bogus/duh" } ]; @@ -32,7 +32,7 @@ var gPlayedTests = [ { name:"sound.ogg", type:"audio/ogg", duration:4.0 }, { name:"seek.ogv", type:"video/ogg", duration:3.966 }, { name:"seek.webm", type:"video/webm", duration:3.966 }, - { name:"gizmo.mp4", type:"video/mp4", duration:5.0 }, + { name:"gizmo.mp4", type:"video/mp4", duration:5.56 }, ]; // Used by test_mozLoadFrom. Need one test file per decoder backend, plus @@ -150,7 +150,7 @@ var gPlayTests = [ // Opus data in an ogg container { name:"detodos.opus", type:"audio/ogg; codecs=opus", duration:2.9135 }, - { name:"gizmo.mp4", type:"video/mp4", duration:5.0 }, + { name:"gizmo.mp4", type:"video/mp4", duration:5.56 }, // Invalid file { name:"bogus.duh", type:"bogus/duh", duration:Number.NaN }