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

Unified Diff: media/base/media_switches.cc

Issue 265263004: Mac Video Capture Device: split VCD into VCD and Factory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Corrected tests that needed include media_switches.h Created 6 years, 7 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: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 515c0bc3d1af45fbebbfc629d9ca60886c88dedb..886b9202a221f9f726c49841615aa111588ce66d 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -40,6 +40,7 @@ const char kAlsaOutputDevice[] = "alsa-output-device";
// for experimentation purposes, in particular library load time issue, the
// usage of this library can be enabled by using this flag.
const char kEnableAVFoundation[] = "enable-avfoundation";
+
// QTKit is the media capture API predecessor to AVFoundation, available up and
// until Mac OS X 10.9 (despite being deprecated in this last one). This flag
// is used for troubleshooting and testing, and forces QTKit in builds and
@@ -85,6 +86,10 @@ const char kWaveOutBuffers[] = "waveout-buffers";
const char kUseCras[] = "use-cras";
#endif
+// Use fake device for Media Stream to replace actual camera and microphone. The
+// video part is actually used in VideoCaptureDeviceFactory.
perkj_chrome 2014/05/06 11:32:43 nit: remove the sentence where its used.
mcasas 2014/05/06 12:47:21 Done.
+const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
+
// Use a raw video file as fake video capture device.
const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture";

Powered by Google App Engine
This is Rietveld 408576698