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 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Allow users to specify a custom buffer size for debugging purpose. | 10 // Allow users to specify a custom buffer size for debugging purpose. |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
160 base::FEATURE_ENABLED_BY_DEFAULT | 160 base::FEATURE_ENABLED_BY_DEFAULT |
161 }; | 161 }; |
162 #else | 162 #else |
163 base::FEATURE_DISABLED_BY_DEFAULT | 163 base::FEATURE_DISABLED_BY_DEFAULT |
164 }; | 164 }; |
165 #endif | 165 #endif |
166 | 166 |
167 // Use shared block-based buffering for media. | 167 // Use shared block-based buffering for media. |
168 const base::Feature kUseNewMediaCache{"use-new-media-cache", | 168 const base::Feature kUseNewMediaCache{"use-new-media-cache", |
169 base::FEATURE_ENABLED_BY_DEFAULT}; | 169 base::FEATURE_ENABLED_BY_DEFAULT}; |
170 | |
170 // Correct video colors based on output display? | 171 // Correct video colors based on output display? |
171 const base::Feature kVideoColorManagement{"video-color-management", | 172 const base::Feature kVideoColorManagement{"video-color-management", |
172 base::FEATURE_DISABLED_BY_DEFAULT}; | 173 base::FEATURE_DISABLED_BY_DEFAULT}; |
173 | 174 |
175 // Enables support for External Clear Key (ECK) key system for testing on | |
176 // supported platforms. Currently ECK is supported on desktop platforms when the | |
ddorwin
2016/09/14 19:33:29
This second sentence is subject to rot, including
xhwang
2016/09/14 21:32:05
k, removed :)
| |
177 // CDM is registered on command line. On platforms that does not support ECK, | |
ddorwin
2016/09/14 19:33:29
nit: s/does/do/
xhwang
2016/09/14 21:32:05
Done.
| |
178 // this feature does not have any effect. | |
179 const base::Feature kExternalClearKeyForTesting{ | |
180 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; | |
181 | |
174 } // namespace media | 182 } // namespace media |
OLD | NEW |