OLD | NEW |
---|---|
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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "media/base/media_switches.h" | 6 #include "media/base/media_switches.h" |
7 #include "ppapi/features/features.h" | 7 #include "ppapi/features/features.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
90 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; | 90 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; |
91 | 91 |
92 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat | 92 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat |
93 // the bits as if they came from the microphone, which means you should disable | 93 // the bits as if they came from the microphone, which means you should disable |
94 // audio processing (lest your audio file will play back distorted). The input | 94 // audio processing (lest your audio file will play back distorted). The input |
95 // file is converted to suit Chrome's audio buses if necessary, so most sane | 95 // file is converted to suit Chrome's audio buses if necessary, so most sane |
96 // .wav files should work. You can pass either <path> to play the file looping | 96 // .wav files should work. You can pass either <path> to play the file looping |
97 // or <path>%noloop to stop after playing the file to completion. | 97 // or <path>%noloop to stop after playing the file to completion. |
98 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; | 98 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; |
99 | 99 |
100 // Use fake device for accelerated decoding of jpeg. This allows, for example, | |
mcasas
2017/03/08 01:33:17
s/jpeg/JPEG/
chfremer
2017/03/08 18:58:08
Done.
| |
101 // testing of the communication to the GPU service without requiring actual | |
102 // accelerator hardware to be present. | |
103 const char kUseFakeJpegDecodeAccelerator[] = "use-fake-jpeg-decode-accelerator"; | |
104 | |
100 // Enables support for inband text tracks in media content. | 105 // Enables support for inband text tracks in media content. |
101 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; | 106 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |
102 | 107 |
103 // When running tests on a system without the required hardware or libraries, | 108 // When running tests on a system without the required hardware or libraries, |
104 // this flag will cause the tests to fail. Otherwise, they silently succeed. | 109 // this flag will cause the tests to fail. Otherwise, they silently succeed. |
105 const char kRequireAudioHardwareForTesting[] = | 110 const char kRequireAudioHardwareForTesting[] = |
106 "require-audio-hardware-for-testing"; | 111 "require-audio-hardware-for-testing"; |
107 | 112 |
108 // Allows clients to override the threshold for when the media renderer will | 113 // Allows clients to override the threshold for when the media renderer will |
109 // declare the underflow state for the video stream when audio is present. | 114 // declare the underflow state for the video stream when audio is present. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
201 | 206 |
202 // An experimental feature to enable persistent-license type support in MediaDrm | 207 // An experimental feature to enable persistent-license type support in MediaDrm |
203 // when using Encrypted Media Extensions (EME) API. | 208 // when using Encrypted Media Extensions (EME) API. |
204 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 | 209 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 |
205 const base::Feature kMediaDrmPersistentLicense{ | 210 const base::Feature kMediaDrmPersistentLicense{ |
206 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; | 211 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; |
207 | 212 |
208 #endif | 213 #endif |
209 | 214 |
210 } // namespace media | 215 } // namespace media |
OLD | NEW |