Bug 949525 - VP9 tests. r=cpearce

This commit is contained in:
Jan Gerber 2013-12-16 09:47:38 +01:00
parent 19a6d5698e
commit f66729f063
5 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,12 @@ function check_webm(v, enabled) {
check("video/webm; codecs=\"vp8.0, vorbis\"", "probably");
check("video/webm; codecs=vp8", "probably");
check("video/webm; codecs=vp8.0", "probably");
check("video/webm; codecs=\"vp9, vorbis\"", "probably");
check("video/webm; codecs=\"vp9.0, vorbis\"", "probably");
check("video/webm; codecs=\"vp9, opus\"", "probably");
check("video/webm; codecs=\"vp9.0, opus\"", "probably");
check("video/webm; codecs=vp9", "probably");
check("video/webm; codecs=vp9.0", "probably");
// Unsupported WebM codecs
check("video/webm; codecs=xyz", "");

View File

@ -11,6 +11,7 @@ var gSmallTests = [
{ name:"r11025_s16_c1.wav", type:"audio/x-wav", duration:1.0 },
{ 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:"vp9.webm", type:"video/webm", width:360, height:640, duration:0.507 },
{ name:"detodos.opus", type:"audio/ogg; codecs=opus", duration:2.9135 },
{ name:"gizmo.mp4", type:"video/mp4", duration:5.56 },
{ name:"bogus.duh", type:"bogus/duh" }
@ -156,6 +157,9 @@ var gPlayTests = [
// Test playback of a WebM file with non-zero start time.
{ name:"split.webm", type:"video/webm", duration:1.967 },
// Test playback of a WebM file with vp9 video
{ name:"vp9cake.webm", type:"video/webm", duration:7.966 },
// Test playback of a raw file
{ name:"seek.yuv", type:"video/x-raw-yuv", duration:1.833 },

View File

@ -130,6 +130,8 @@ support-files =
region.vtt
seek.ogv
seek.webm
vp9.webm
vp9cake.webm
seek.yuv
seek1.js
seek10.js

BIN
content/media/test/vp9.webm Normal file

Binary file not shown.

Binary file not shown.