Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: content/test/data/media/webrtc_test_utilities.js

Issue 1358883003: Use GpuMemoryBufferVideoFramePool for WebMediaPlayerMS and MediaStreamVideoRendererSink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@send-gmbs
Patch Set: Test issues. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/data/media/webrtc_test_utilities.js
diff --git a/content/test/data/media/webrtc_test_utilities.js b/content/test/data/media/webrtc_test_utilities.js
index f8b320966d91b92db5d33193af3c2cf2d76cea23..8f28033fa3e3eeb9380221c7ca1d9da34043dd49 100644
--- a/content/test/data/media/webrtc_test_utilities.js
+++ b/content/test/data/media/webrtc_test_utilities.js
@@ -8,6 +8,7 @@ const VIDEO_TAG_HEIGHT = 240;
// Fake video capture background green is of value 135.
const COLOR_BACKGROUND_GREEN = 135;
+const COLOR_BACKGROUND_GREEN_THRESHOLD = 1;
// Number of test events to occur before the test pass. When the test pass,
// the function gAllEventsOccured is called.
@@ -246,4 +247,4 @@ function hasVideoInputDeviceOnSystem() {
else
sendValueToTest('no-video-input-devices');
});
-}
+}

Powered by Google App Engine
This is Rietveld 408576698