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

Unified Diff: content/test/content_test_launcher.cc

Issue 2428263004: 16 bpp video stream capture, render and createImageBitmap(video) using (CPU) shared memory buffers (Closed)
Patch Set: #38 fix: refactoring VideoCaptureDeviceClient::OnIncomingCapturedY16Data out. Thanks mcasas@. Created 4 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/content_test_launcher.cc
diff --git a/content/test/content_test_launcher.cc b/content/test/content_test_launcher.cc
index 00e121de7a90b82e3c1f91838974f9fa5b24d951..1ffcc4412bc428893d1ebd4810c31b5dd7c8b9bb 100644
--- a/content/test/content_test_launcher.cc
+++ b/content/test/content_test_launcher.cc
@@ -110,7 +110,9 @@ class ContentTestLauncherDelegate : public TestLauncherDelegate {
const base::FilePath& temp_data_dir) override {
command_line->AppendSwitchPath(switches::kContentShellDataPath,
temp_data_dir);
- command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream);
+ command_line->AppendSwitchASCII(
+ switches::kUseFakeDeviceForMediaStream,
+ "device-count=2"); // A color and a 16-bit depth device.
return true;
}

Powered by Google App Engine
This is Rietveld 408576698