Commit 759bef18 authored by Chris Cunningham's avatar Chris Cunningham Committed by Commit Bot

Replace vp9 with vp09... in MediaCapabilities LayoutTests

vp9 is ambiguous about important details like codec profile.
vp09.... specifies the missing details.

http://www.webmproject.org/vp9/mp4/#codecs-parameter-string

Using the ambiguous vp9 string will cause the returned
MediaCapabilitiesInfo to mark is_supported=false. The tests don't
actually check this value, but we should use the right string to
set a good example.

Bug: 783153
Change-Id: I51a00c0ef3a3efedb70336894d3b17f786284156
Reviewed-on: https://chromium-review.googlesource.com/775903Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517382}
parent 70824559
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
// Minimal VideoConfiguration that will be allowed per spec. All optional // Minimal VideoConfiguration that will be allowed per spec. All optional
// properties are missing. // properties are missing.
var minimalVideoConfiguration = { var minimalVideoConfiguration = {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -45,7 +45,7 @@ promise_test(t => { ...@@ -45,7 +45,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -58,7 +58,7 @@ promise_test(t => { ...@@ -58,7 +58,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -71,7 +71,7 @@ promise_test(t => { ...@@ -71,7 +71,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -110,7 +110,7 @@ promise_test(t => { ...@@ -110,7 +110,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"; foo="bar"', contentType: 'video/webm; codecs="vp09.00.10.08"; foo="bar"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -136,7 +136,7 @@ promise_test(t => { ...@@ -136,7 +136,7 @@ promise_test(t => {
return navigator.mediaCapabilities.decodingInfo({ return navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -149,7 +149,7 @@ promise_test(t => { ...@@ -149,7 +149,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -162,7 +162,7 @@ promise_test(t => { ...@@ -162,7 +162,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -175,7 +175,7 @@ promise_test(t => { ...@@ -175,7 +175,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -188,7 +188,7 @@ promise_test(t => { ...@@ -188,7 +188,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -201,7 +201,7 @@ promise_test(t => { ...@@ -201,7 +201,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -214,7 +214,7 @@ promise_test(t => { ...@@ -214,7 +214,7 @@ promise_test(t => {
return navigator.mediaCapabilities.decodingInfo({ return navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -227,7 +227,7 @@ promise_test(t => { ...@@ -227,7 +227,7 @@ promise_test(t => {
return navigator.mediaCapabilities.decodingInfo({ return navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
...@@ -240,7 +240,7 @@ promise_test(t => { ...@@ -240,7 +240,7 @@ promise_test(t => {
return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({ return promise_rejects(t, new TypeError(), navigator.mediaCapabilities.decodingInfo({
type: 'file', type: 'file',
video: { video: {
contentType: 'video/webm; codecs="vp9"', contentType: 'video/webm; codecs="vp09.00.10.08"',
width: 800, width: 800,
height: 600, height: 600,
bitrate: 3000, bitrate: 3000,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment