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

Side by Side Diff: media/base/media_switches.cc

Issue 276993002: Revert 269271 "Mac Video Capture Device: split VCD into VCD and ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1984/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/media_switches.h ('k') | media/media.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/media_switches.h" 5 #include "media/base/media_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Allow users to specify a custom buffer size for debugging purpose. 9 // Allow users to specify a custom buffer size for debugging purpose.
10 const char kAudioBufferSize[] = "audio-buffer-size"; 10 const char kAudioBufferSize[] = "audio-buffer-size";
(...skipping 22 matching lines...) Expand all
33 #endif 33 #endif
34 34
35 #if defined(OS_MACOSX) 35 #if defined(OS_MACOSX)
36 // AVFoundation is available in versions 10.7 and onwards, and is to be used 36 // AVFoundation is available in versions 10.7 and onwards, and is to be used
37 // http://crbug.com/288562 for both audio and video device monitoring and for 37 // http://crbug.com/288562 for both audio and video device monitoring and for
38 // video capture. Being a dynamically loaded NSBundle and library, it hits the 38 // video capture. Being a dynamically loaded NSBundle and library, it hits the
39 // Chrome startup time (http://crbug.com/311325 and http://crbug.com/311437); 39 // Chrome startup time (http://crbug.com/311325 and http://crbug.com/311437);
40 // for experimentation purposes, in particular library load time issue, the 40 // for experimentation purposes, in particular library load time issue, the
41 // usage of this library can be enabled by using this flag. 41 // usage of this library can be enabled by using this flag.
42 const char kEnableAVFoundation[] = "enable-avfoundation"; 42 const char kEnableAVFoundation[] = "enable-avfoundation";
43
44 // QTKit is the media capture API predecessor to AVFoundation, available up and 43 // QTKit is the media capture API predecessor to AVFoundation, available up and
45 // until Mac OS X 10.9 (despite being deprecated in this last one). This flag 44 // until Mac OS X 10.9 (despite being deprecated in this last one). This flag
46 // is used for troubleshooting and testing, and forces QTKit in builds and 45 // is used for troubleshooting and testing, and forces QTKit in builds and
47 // configurations where AVFoundation would be used otherwise. 46 // configurations where AVFoundation would be used otherwise.
48 const char kForceQTKit[] = "force-qtkit"; 47 const char kForceQTKit[] = "force-qtkit";
49 #endif 48 #endif
50 49
51 #if defined(OS_WIN) 50 #if defined(OS_WIN)
52 // Use exclusive mode audio streaming for Windows Vista and higher. 51 // Use exclusive mode audio streaming for Windows Vista and higher.
53 // Leads to lower latencies for audio streams which uses the 52 // Leads to lower latencies for audio streams which uses the
(...skipping 25 matching lines...) Expand all
79 78
80 // Number of buffers to use for WaveOut. 79 // Number of buffers to use for WaveOut.
81 const char kWaveOutBuffers[] = "waveout-buffers"; 80 const char kWaveOutBuffers[] = "waveout-buffers";
82 #endif 81 #endif
83 82
84 #if defined(USE_CRAS) 83 #if defined(USE_CRAS)
85 // Use CRAS, the ChromeOS audio server. 84 // Use CRAS, the ChromeOS audio server.
86 const char kUseCras[] = "use-cras"; 85 const char kUseCras[] = "use-cras";
87 #endif 86 #endif
88 87
89 // Use fake device for Media Stream to replace actual camera and microphone.
90 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
91
92 // Use a raw video file as fake video capture device. 88 // Use a raw video file as fake video capture device.
93 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; 89 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture";
94 90
95 } // namespace switches 91 } // namespace switches
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698