Bug 1715623 [wpt PR 29315] - webcodecs: Updating VPX and MF encoders to heed the VBR setting, a=testonly
☠☠ backed out by dec0a179f851 ☠ ☠
authorEugene Zemtsov <eugene@chromium.org>
Sat, 17 Jul 2021 09:54:03 +0000
changeset 585868 63b60717adb93ad988112fdf5de97662169c6cc7
parent 585867 e935afa24e7675c8357c5ff8d27683cabf07816b
child 585869 6739faefd456f62c55d20eb3cd131e5d38020ff6
push id38620
push usercsabou@mozilla.com
push dateSun, 18 Jul 2021 09:08:29 +0000
treeherdermozilla-central@cc4e5ea0c986 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1715623, 29315, 1217840, 2946127, 901884
milestone92.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1715623 [wpt PR 29315] - webcodecs: Updating VPX and MF encoders to heed the VBR setting, a=testonly Automatic update from web-platform-tests webcodecs: Updating VPX and MF encoders to heed the VBR setting Bug: 1217840 Change-Id: I9067e6a690f1f9634d1bcf3f6d5c7e0a469cff27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2946127 Reviewed-by: Chrome Cunningham <chcunningham@chromium.org> Reviewed-by: James Cook <jamescook@chromium.org> Commit-Queue: Eugene Zemtsov <eugene@chromium.org> Cr-Commit-Position: refs/heads/master@{#901884} -- wpt-commits: b00170f86bf1bf4a368003b694f5506f011706c4 wpt-pr: 29315
testing/web-platform/tests/webcodecs/videoFrame-createImageBitmap.any.js
--- a/testing/web-platform/tests/webcodecs/videoFrame-createImageBitmap.any.js
+++ b/testing/web-platform/tests/webcodecs/videoFrame-createImageBitmap.any.js
@@ -78,17 +78,17 @@ function testCreateImageBitmapFromVideoF
       timestamp: 0
     });
     return new Promise((resolve, reject) => {
       let processVideoFrame = (frame) => {
         createImageBitmap(frame).then((toImageBitmap) => {
           let myCanvas = new OffscreenCanvas(width, height);
           let myCtx = myCanvas.getContext('2d');
           myCtx.drawImage(toImageBitmap, 0, 0);
-          let tolerance = 6;
+          let tolerance = 10;
           try {
             testCanvas(myCtx, width, height, kSRGBPixel, null,
               (actual, expected) => {
                 assert_approx_equals(actual, expected, tolerance);
               }
             );
           } catch (error) {
             reject(error);
@@ -123,17 +123,17 @@ function testCreateImageBitmapFromVideoF
         }
       };
 
       const videoEncoderConfig = {
         codec: "vp09.00.10.08",
         width: width,
         height: height,
         bitrate: 10e6,
-        framerate: 30,
+        framerate: 30
       };
 
       let encoder = new VideoEncoder(encoderInit);
       encoder.configure(videoEncoderConfig);
       encoder.encode(videoFrame, {
         keyFrame: true
       });
       encoder.flush();