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

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

Issue 17459003: Allow suppressed EME canPlayType() responses to be overridden with a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile. 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
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 // Enable EAC3 playback in MSE. 12 // Enable EAC3 playback in MSE.
13 const char kEnableEac3Playback[] = "enable-eac3-playback"; 13 const char kEnableEac3Playback[] = "enable-eac3-playback";
14 14
15 // Enables Opus playback in media elements. 15 // Enables Opus playback in media elements.
16 const char kEnableOpusPlayback[] = "enable-opus-playback"; 16 const char kEnableOpusPlayback[] = "enable-opus-playback";
17 17
18 // Enables VP8 Alpha playback in media elements. 18 // Enables VP8 Alpha playback in media elements.
19 const char kEnableVp8AlphaPlayback[] = "enable-vp8-alpha-playback"; 19 const char kEnableVp8AlphaPlayback[] = "enable-vp8-alpha-playback";
20 20
21 // Set number of threads to use for video decoding. 21 // Set number of threads to use for video decoding.
22 const char kVideoThreads[] = "video-threads"; 22 const char kVideoThreads[] = "video-threads";
23 23
24 // Override suppressed responses to canPlayType().
25 const char kOverrideEncryptedMediaCanPlayType[] =
26 "override-encrypted-media-canplaytype";
27
24 #if defined(GOOGLE_TV) 28 #if defined(GOOGLE_TV)
25 // Use external video surface for video with more than or equal pixels to 29 // Use external video surface for video with more than or equal pixels to
26 // specified value. For example, value of 0 will enable external video surface 30 // specified value. For example, value of 0 will enable external video surface
27 // for all videos, and value of 921600 (=1280*720) will enable external video 31 // for all videos, and value of 921600 (=1280*720) will enable external video
28 // surface for 720p video and larger. 32 // surface for 720p video and larger.
29 const char kUseExternalVideoSurfaceThresholdInPixels[] = 33 const char kUseExternalVideoSurfaceThresholdInPixels[] =
30 "use-external-video-surface-threshold-in-pixels"; 34 "use-external-video-surface-threshold-in-pixels";
31 #endif 35 #endif
32 36
33 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 37 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
(...skipping 25 matching lines...) Expand all
59 // Number of buffers to use for WaveOut. 63 // Number of buffers to use for WaveOut.
60 const char kWaveOutBuffers[] = "waveout-buffers"; 64 const char kWaveOutBuffers[] = "waveout-buffers";
61 #endif 65 #endif
62 66
63 #if defined(USE_CRAS) 67 #if defined(USE_CRAS)
64 // Use CRAS, the ChromeOS audio server. 68 // Use CRAS, the ChromeOS audio server.
65 const char kUseCras[] = "use-cras"; 69 const char kUseCras[] = "use-cras";
66 #endif 70 #endif
67 71
68 } // namespace switches 72 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698