mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
[WebRTC] updated to upstream branch 49 and related.
this patch is based on 38d7a7883...226f2f0bd
This commit is contained in:
parent
e79847e7b9
commit
a3239eaa4d
2838 changed files with 151221 additions and 159688 deletions
|
|
@ -146,8 +146,16 @@ CaptureStreamTestHelper.prototype = {
|
|||
info("Waiting for video " + video.id + " to match [" +
|
||||
refColor.data.join(',') + "] - " + refColor.name +
|
||||
" (" + infoString + ")");
|
||||
var paintedFrames = video.mozPaintedFrames-1;
|
||||
return this.waitForPixel(video, 0, 0,
|
||||
px => this.isPixel(px, refColor, threshold))
|
||||
px => { if (paintedFrames != video.mozPaintedFrames) {
|
||||
info("Frame: " + video.mozPaintedFrames +
|
||||
" IsPixel ref=" + refColor.data +
|
||||
" threshold=" + threshold +
|
||||
" value=" + px);
|
||||
paintedFrames = video.mozPaintedFrames;
|
||||
}
|
||||
return this.isPixel(px, refColor, threshold); })
|
||||
.then(() => ok(true, video.id + " " + infoString));
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue