Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Side by Side Diff: media/base/media_switches.cc

Issue 189123003: Remove deprecated media switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/media_switches.h ('k') | media/filters/stream_parser_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Disables Opus playback in media elements.
13 const char kDisableOpusPlayback[] = "disable-opus-playback";
14
15 // Disables VP8 Alpha playback in media elements.
16 const char kDisableVp8AlphaPlayback[] = "disable-vp8-alpha-playback";
17
18 // Set number of threads to use for video decoding. 12 // Set number of threads to use for video decoding.
19 const char kVideoThreads[] = "video-threads"; 13 const char kVideoThreads[] = "video-threads";
20 14
21 // Enables ADTS stream parser for Media Source Extensions. 15 // Enables ADTS stream parser for Media Source Extensions.
22 const char kEnableADTSStreamParser[] = "enable-adts-stream-parser"; 16 const char kEnableADTSStreamParser[] = "enable-adts-stream-parser";
23 17
24 // Enables MP3 stream parser for Media Source Extensions. 18 // Enables MP3 stream parser for Media Source Extensions.
25 const char kEnableMP3StreamParser[] = "enable-mp3-stream-parser"; 19 const char kEnableMP3StreamParser[] = "enable-mp3-stream-parser";
26 20
27 #if defined(OS_ANDROID) 21 #if defined(OS_ANDROID)
28 // Disables the infobar popup for accessing protected media identifier. 22 // Disables the infobar popup for accessing protected media identifier.
29 const char kDisableInfobarForProtectedMediaIdentifier[] = 23 const char kDisableInfobarForProtectedMediaIdentifier[] =
30 "disable-infobar-for-protected-media-identifier"; 24 "disable-infobar-for-protected-media-identifier";
31 25
32 // Enables use of non-compositing MediaDrm decoding by default for Encrypted 26 // Enables use of non-compositing MediaDrm decoding by default for Encrypted
33 // Media Extensions implementation. 27 // Media Extensions implementation.
34 const char kMediaDrmEnableNonCompositing[] = "mediadrm-enable-non-compositing"; 28 const char kMediaDrmEnableNonCompositing[] = "mediadrm-enable-non-compositing";
35 #endif 29 #endif
36 30
37 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 31 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
38 // The Alsa device to use when opening an audio input stream. 32 // The Alsa device to use when opening an audio input stream.
39 const char kAlsaInputDevice[] = "alsa-input-device"; 33 const char kAlsaInputDevice[] = "alsa-input-device";
40 // The Alsa device to use when opening an audio stream. 34 // The Alsa device to use when opening an audio stream.
41 const char kAlsaOutputDevice[] = "alsa-output-device"; 35 const char kAlsaOutputDevice[] = "alsa-output-device";
42 #endif 36 #endif
43 37
44 #if defined(OS_MACOSX) 38 #if defined(OS_MACOSX)
45 // Unlike other platforms, OSX requires CoreAudio calls to happen on the main
46 // thread of the process. Provide a way to disable this until support is well
47 // tested. See http://crbug.com/158170.
48 // TODO(dalecurtis): Remove this once we're sure nothing has exploded.
49 const char kDisableMainThreadAudio[] = "disable-main-thread-audio";
50 // AVFoundation is available in versions 10.7 and onwards, and is to be used 39 // AVFoundation is available in versions 10.7 and onwards, and is to be used
51 // http://crbug.com/288562 for both audio and video device monitoring and for 40 // http://crbug.com/288562 for both audio and video device monitoring and for
52 // video capture. Being a dynamically loaded NSBundle and library, it hits the 41 // video capture. Being a dynamically loaded NSBundle and library, it hits the
53 // Chrome startup time (http://crbug.com/311325 and http://crbug.com/311437); 42 // Chrome startup time (http://crbug.com/311325 and http://crbug.com/311437);
54 // for experimentation purposes, in particular library load time issue, the 43 // for experimentation purposes, in particular library load time issue, the
55 // usage of this library can be hidden behind this flag. 44 // usage of this library can be hidden behind this flag.
56 const char kDisableAVFoundation[] = "disable-avfoundation"; 45 const char kDisableAVFoundation[] = "disable-avfoundation";
57 #endif 46 #endif
58 47
59 #if defined(OS_WIN) 48 #if defined(OS_WIN)
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const char kUseCras[] = "use-cras"; 83 const char kUseCras[] = "use-cras";
95 #endif 84 #endif
96 85
97 // Disables system sounds manager. 86 // Disables system sounds manager.
98 const char kDisableSystemSoundsManager[] = "disable-system-sounds-manager"; 87 const char kDisableSystemSoundsManager[] = "disable-system-sounds-manager";
99 88
100 // Use a raw video file as fake video capture device. 89 // Use a raw video file as fake video capture device.
101 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; 90 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture";
102 91
103 } // namespace switches 92 } // namespace switches
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/filters/stream_parser_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698