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

Unified Diff: content/test/data/media/mediarecorder_test.html

Issue 2801803002: Android: enable H264&VP8 HW accelerator for MediaRecorder (Closed)
Patch Set: remove unnecessary comments Created 3 years, 8 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/mediarecorder_test.html
diff --git a/content/test/data/media/mediarecorder_test.html b/content/test/data/media/mediarecorder_test.html
index bdfb8d1d982caa18a290ea88fe38391d363fe449..2e5b6d708d6c2564ad80118c9aba473d0f327da5 100644
--- a/content/test/data/media/mediarecorder_test.html
+++ b/content/test/data/media/mediarecorder_test.html
@@ -544,7 +544,8 @@ function testRecordWithTransparency(mimeType) {
const NUMBER_OF_EVENTS_TO_RECORD = 5;
var canvas = document.createElement('canvas');
- canvas.width = canvas.height = 64;
+ canvas.width = 320;
+ canvas.height = 240;
mcasas 2017/04/19 22:32:46 IIUC you're changing these numbers to avoid using
braveyao 2017/04/20 18:17:29 Can't figure out another way for this HTML file, e
mcasas 2017/04/20 19:18:37 If the concern is H264 and transparency, that comb
braveyao 2017/04/20 22:37:35 Done.
var stream = canvas.captureStream();
assertTrue(stream, 'Error creating MediaStream');
assertEquals(1, stream.getVideoTracks().length);

Powered by Google App Engine
This is Rietveld 408576698