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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 129 |
130 #if defined(OS_WIN) | 130 #if defined(OS_WIN) |
131 // Enables H264 HW encode acceleration using Media Foundation for Windows. | 131 // Enables H264 HW encode acceleration using Media Foundation for Windows. |
132 const base::Feature kMediaFoundationH264Encoding{ | 132 const base::Feature kMediaFoundationH264Encoding{ |
133 "MediaFoundationH264Encoding", base::FEATURE_DISABLED_BY_DEFAULT}; | 133 "MediaFoundationH264Encoding", base::FEATURE_DISABLED_BY_DEFAULT}; |
134 #endif // defined(OS_WIN) | 134 #endif // defined(OS_WIN) |
135 | 135 |
136 #if defined(ENABLE_PLUGINS) | 136 #if defined(ENABLE_PLUGINS) |
137 // Let flash join and be controlled by media session, only valid when | 137 // Let flash join and be controlled by media session, only valid when |
138 // |kEnableDefaultMediaSession| is on. | 138 // |kEnableDefaultMediaSession| is on. |
139 const base::Feature kFlashJoinsMediaSession{"flash-join-media-session", | 139 const base::Feature kFlashJoinsMediaSession{"FlashJoinsMediaSession", |
140 base::FEATURE_DISABLED_BY_DEFAULT}; | 140 base::FEATURE_DISABLED_BY_DEFAULT}; |
141 #endif // defined(ENABLE_PLUGINS) | 141 #endif // defined(ENABLE_PLUGINS) |
142 | 142 |
143 // Use new audio rendering mixer. | 143 // Use new audio rendering mixer. |
144 const base::Feature kNewAudioRenderingMixingStrategy{ | 144 const base::Feature kNewAudioRenderingMixingStrategy{ |
145 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; | 145 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; |
146 | 146 |
147 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank. | 147 // Only used for disabling overlay fullscreen (aka SurfaceView) in Clank. |
148 const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video", | 148 const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video", |
149 base::FEATURE_ENABLED_BY_DEFAULT}; | 149 base::FEATURE_ENABLED_BY_DEFAULT}; |
(...skipping 17 matching lines...) Expand all Loading... |
167 const base::Feature kVideoColorManagement{"video-color-management", | 167 const base::Feature kVideoColorManagement{"video-color-management", |
168 base::FEATURE_DISABLED_BY_DEFAULT}; | 168 base::FEATURE_DISABLED_BY_DEFAULT}; |
169 | 169 |
170 // Enables support for External Clear Key (ECK) key system for testing on | 170 // Enables support for External Clear Key (ECK) key system for testing on |
171 // supported platforms. On platforms that do not support ECK, this feature has | 171 // supported platforms. On platforms that do not support ECK, this feature has |
172 // no effect. | 172 // no effect. |
173 const base::Feature kExternalClearKeyForTesting{ | 173 const base::Feature kExternalClearKeyForTesting{ |
174 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; | 174 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; |
175 | 175 |
176 } // namespace media | 176 } // namespace media |
OLD | NEW |