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 "media/base/media_switches.h" | 5 #include "media/base/media_switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 // Correct video colors based on output display? | 249 // Correct video colors based on output display? |
250 const base::Feature kVideoColorManagement{"video-color-management", | 250 const base::Feature kVideoColorManagement{"video-color-management", |
251 base::FEATURE_DISABLED_BY_DEFAULT}; | 251 base::FEATURE_DISABLED_BY_DEFAULT}; |
252 | 252 |
253 // Use SurfaceLayer instead of VideoLayer. | 253 // Use SurfaceLayer instead of VideoLayer. |
254 const base::Feature kUseSurfaceLayerForVideo{"UseSurfaceLayerForVideo", | 254 const base::Feature kUseSurfaceLayerForVideo{"UseSurfaceLayerForVideo", |
255 base::FEATURE_DISABLED_BY_DEFAULT}; | 255 base::FEATURE_DISABLED_BY_DEFAULT}; |
256 | 256 |
257 // Inform video blitter of video color space. | 257 // Inform video blitter of video color space. |
258 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", | 258 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", |
259 base::FEATURE_DISABLED_BY_DEFAULT}; | 259 base::FEATURE_ENABLED_BY_DEFAULT}; |
260 | 260 |
261 // Enables support for External Clear Key (ECK) key system for testing on | 261 // Enables support for External Clear Key (ECK) key system for testing on |
262 // supported platforms. On platforms that do not support ECK, this feature has | 262 // supported platforms. On platforms that do not support ECK, this feature has |
263 // no effect. | 263 // no effect. |
264 const base::Feature kExternalClearKeyForTesting{ | 264 const base::Feature kExternalClearKeyForTesting{ |
265 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; | 265 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; |
266 | 266 |
267 const base::Feature kSupportExperimentalCdmInterface{ | 267 const base::Feature kSupportExperimentalCdmInterface{ |
268 "SupportExperimentalCdmInterface", base::FEATURE_DISABLED_BY_DEFAULT}; | 268 "SupportExperimentalCdmInterface", base::FEATURE_DISABLED_BY_DEFAULT}; |
269 | 269 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 | 326 |
327 // The default value is platform dependent. | 327 // The default value is platform dependent. |
328 #if defined(OS_ANDROID) | 328 #if defined(OS_ANDROID) |
329 return switches::autoplay::kUserGestureRequiredPolicy; | 329 return switches::autoplay::kUserGestureRequiredPolicy; |
330 #else | 330 #else |
331 return switches::autoplay::kNoUserGestureRequiredPolicy; | 331 return switches::autoplay::kNoUserGestureRequiredPolicy; |
332 #endif | 332 #endif |
333 } | 333 } |
334 | 334 |
335 } // namespace media | 335 } // namespace media |
OLD | NEW |