| 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. | |
| 16 const char kEnableADTSStreamParser[] = "enable-adts-stream-parser"; | |
| 17 | |
| 18 // Bypass autodetection of the upper limit on resolution of streams that can | 15 // Bypass autodetection of the upper limit on resolution of streams that can |
| 19 // be hardware decoded. | 16 // be hardware decoded. |
| 20 const char kIgnoreResolutionLimitsForAcceleratedVideoDecode[] = | 17 const char kIgnoreResolutionLimitsForAcceleratedVideoDecode[] = |
| 21 "ignore-resolution-limits-for-accelerated-video-decode"; | 18 "ignore-resolution-limits-for-accelerated-video-decode"; |
| 22 | 19 |
| 23 #if defined(OS_ANDROID) | 20 #if defined(OS_ANDROID) |
| 24 // Disables the infobar popup for accessing protected media identifier. | 21 // Disables the infobar popup for accessing protected media identifier. |
| 25 const char kDisableInfobarForProtectedMediaIdentifier[] = | 22 const char kDisableInfobarForProtectedMediaIdentifier[] = |
| 26 "disable-infobar-for-protected-media-identifier"; | 23 "disable-infobar-for-protected-media-identifier"; |
| 27 | 24 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const char kUseCras[] = "use-cras"; | 88 const char kUseCras[] = "use-cras"; |
| 92 #endif | 89 #endif |
| 93 | 90 |
| 94 // Use fake device for Media Stream to replace actual camera and microphone. | 91 // Use fake device for Media Stream to replace actual camera and microphone. |
| 95 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 92 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
| 96 | 93 |
| 97 // Use a raw video file as fake video capture device. | 94 // Use a raw video file as fake video capture device. |
| 98 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; | 95 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; |
| 99 | 96 |
| 100 } // namespace switches | 97 } // namespace switches |
| OLD | NEW |