| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 const char kEnableVp9InMp4[] = "enable-vp9-in-mp4"; | 123 const char kEnableVp9InMp4[] = "enable-vp9-in-mp4"; |
| 124 | 124 |
| 125 // Force media player using SurfaceView instead of SurfaceTexture on Android. | 125 // Force media player using SurfaceView instead of SurfaceTexture on Android. |
| 126 const char kForceVideoOverlays[] = "force-video-overlays"; | 126 const char kForceVideoOverlays[] = "force-video-overlays"; |
| 127 | 127 |
| 128 // Allows explicitly specifying MSE audio/video buffer sizes. | 128 // Allows explicitly specifying MSE audio/video buffer sizes. |
| 129 // Default values are 150M for video and 12M for audio. | 129 // Default values are 150M for video and 12M for audio. |
| 130 const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit"; | 130 const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit"; |
| 131 const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit"; | 131 const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit"; |
| 132 | 132 |
| 133 // By default, if any CDM host (including signature) file is missing, the CDM |
| 134 // will not be called to verify the host. Enable this switch to ignore missing |
| 135 // CDM host files. This can be used in tests. |
| 136 const char kIgnoreMissingCdmHostFile[] = "ignore-missing-cdm-host-file"; |
| 137 |
| 133 } // namespace switches | 138 } // namespace switches |
| 134 | 139 |
| 135 namespace media { | 140 namespace media { |
| 136 | 141 |
| 137 #if defined(OS_WIN) | 142 #if defined(OS_WIN) |
| 138 // Enables video decode acceleration using the D3D11 video decoder api. | 143 // Enables video decode acceleration using the D3D11 video decoder api. |
| 139 // This is completely insecure - DO NOT USE except for testing. | 144 // This is completely insecure - DO NOT USE except for testing. |
| 140 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", | 145 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", |
| 141 base::FEATURE_DISABLED_BY_DEFAULT}; | 146 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 | 147 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 | 204 |
| 200 // An experimental feature to enable persistent-license type support in MediaDrm | 205 // An experimental feature to enable persistent-license type support in MediaDrm |
| 201 // when using Encrypted Media Extensions (EME) API. | 206 // when using Encrypted Media Extensions (EME) API. |
| 202 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 | 207 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 |
| 203 const base::Feature kMediaDrmPersistentLicense{ | 208 const base::Feature kMediaDrmPersistentLicense{ |
| 204 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; | 209 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 205 | 210 |
| 206 #endif | 211 #endif |
| 207 | 212 |
| 208 } // namespace media | 213 } // namespace media |
| OLD | NEW |