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

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

Issue 15383003: Rename switch to disable prefixed Encrypted Media APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase only Created 7 years, 6 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') | webkit/renderer/media/android/webmediaplayer_android.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";
(...skipping 18 matching lines...) Expand all
29 // for details. 29 // for details.
30 const char kEnableExclusiveAudio[] = "enable-exclusive-audio"; 30 const char kEnableExclusiveAudio[] = "enable-exclusive-audio";
31 31
32 // Use Windows WaveOut/In audio API even if Core Audio is supported. 32 // Use Windows WaveOut/In audio API even if Core Audio is supported.
33 const char kForceWaveAudio[] = "force-wave-audio"; 33 const char kForceWaveAudio[] = "force-wave-audio";
34 #endif 34 #endif
35 35
36 // Set number of threads to use for video decoding. 36 // Set number of threads to use for video decoding.
37 const char kVideoThreads[] = "video-threads"; 37 const char kVideoThreads[] = "video-threads";
38 38
39 // Disables support for Encrypted Media Extensions.
40 const char kDisableEncryptedMedia[] = "disable-encrypted-media";
41
42 // Enables Opus playback in media elements. 39 // Enables Opus playback in media elements.
43 const char kEnableOpusPlayback[] = "enable-opus-playback"; 40 const char kEnableOpusPlayback[] = "enable-opus-playback";
44 41
45 // Enables VP9 playback in media elements. 42 // Enables VP9 playback in media elements.
46 const char kEnableVp9Playback[] = "enable-vp9-playback"; 43 const char kEnableVp9Playback[] = "enable-vp9-playback";
47 44
48 // Enables VP8 Alpha playback in media elements. 45 // Enables VP8 Alpha playback in media elements.
49 const char kEnableVp8AlphaPlayback[] = "enable-vp8-alpha-playback"; 46 const char kEnableVp8AlphaPlayback[] = "enable-vp8-alpha-playback";
50 47
51 // Enable EAC3 playback in MSE. 48 // Enable EAC3 playback in MSE.
52 const char kEnableEac3Playback[] = "enable-eac3-playback"; 49 const char kEnableEac3Playback[] = "enable-eac3-playback";
53 50
54 #if defined(OS_WIN) 51 #if defined(OS_WIN)
55 const char kWaveOutBuffers[] = "waveout-buffers"; 52 const char kWaveOutBuffers[] = "waveout-buffers";
56 #endif 53 #endif
57 54
58 #if defined(GOOGLE_TV) 55 #if defined(GOOGLE_TV)
59 // Use external video surface for video with more than or equal pixels to 56 // Use external video surface for video with more than or equal pixels to
60 // specified value. For example, value of 0 will enable external video surface 57 // specified value. For example, value of 0 will enable external video surface
61 // for all videos, and value of 921600 (=1280*720) will enable external video 58 // for all videos, and value of 921600 (=1280*720) will enable external video
62 // surface for 720p video and larger. 59 // surface for 720p video and larger.
63 const char kUseExternalVideoSurfaceThresholdInPixels[] = 60 const char kUseExternalVideoSurfaceThresholdInPixels[] =
64 "use-external-video-surface-threshold-in-pixels"; 61 "use-external-video-surface-threshold-in-pixels";
65 #endif 62 #endif
66 63
67 64
68 } // namespace switches 65 } // namespace switches
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | webkit/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698