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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Allow users to specify a custom buffer size for debugging purpose. | 9 // Allow users to specify a custom buffer size for debugging purpose. |
10 const char kAudioBufferSize[] = "audio-buffer-size"; | 10 const char kAudioBufferSize[] = "audio-buffer-size"; |
11 | 11 |
12 // Set number of threads to use for video decoding. | 12 // Set number of threads to use for video decoding. |
13 const char kVideoThreads[] = "video-threads"; | 13 const char kVideoThreads[] = "video-threads"; |
14 | 14 |
15 // Enables ADTS stream parser for Media Source Extensions. | 15 // Enables ADTS stream parser for Media Source Extensions. |
16 const char kEnableADTSStreamParser[] = "enable-adts-stream-parser"; | 16 const char kEnableADTSStreamParser[] = "enable-adts-stream-parser"; |
17 | 17 |
| 18 // Bypass autodetection of the upper limit on resolution of streams that can |
| 19 // be hardware decoded. |
| 20 const char kIgnoreResolutionLimitsForAcceleratedVideoDecode[] = |
| 21 "ignore-resolution-limits-for-accelerated-video-decode"; |
| 22 |
18 #if defined(OS_ANDROID) | 23 #if defined(OS_ANDROID) |
19 // Disables the infobar popup for accessing protected media identifier. | 24 // Disables the infobar popup for accessing protected media identifier. |
20 const char kDisableInfobarForProtectedMediaIdentifier[] = | 25 const char kDisableInfobarForProtectedMediaIdentifier[] = |
21 "disable-infobar-for-protected-media-identifier"; | 26 "disable-infobar-for-protected-media-identifier"; |
22 | 27 |
23 // Enables use of non-compositing MediaDrm decoding by default for Encrypted | 28 // Enables use of non-compositing MediaDrm decoding by default for Encrypted |
24 // Media Extensions implementation. | 29 // Media Extensions implementation. |
25 const char kMediaDrmEnableNonCompositing[] = "mediadrm-enable-non-compositing"; | 30 const char kMediaDrmEnableNonCompositing[] = "mediadrm-enable-non-compositing"; |
26 #endif | 31 #endif |
27 | 32 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 const char kUseCras[] = "use-cras"; | 91 const char kUseCras[] = "use-cras"; |
87 #endif | 92 #endif |
88 | 93 |
89 // Use fake device for Media Stream to replace actual camera and microphone. | 94 // Use fake device for Media Stream to replace actual camera and microphone. |
90 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 95 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
91 | 96 |
92 // Use a raw video file as fake video capture device. | 97 // Use a raw video file as fake video capture device. |
93 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; | 98 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; |
94 | 99 |
95 } // namespace switches | 100 } // namespace switches |
OLD | NEW |