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

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

Issue 16830004: media: Remove VP9 flag, and enable VP9 support by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 // Enables VP9 playback in media elements.
22 const char kEnableVp9Playback[] = "enable-vp9-playback";
23
24 // Set number of threads to use for video decoding. 21 // Set number of threads to use for video decoding.
25 const char kVideoThreads[] = "video-threads"; 22 const char kVideoThreads[] = "video-threads";
26 23
27 #if defined(GOOGLE_TV) 24 #if defined(GOOGLE_TV)
28 // Use external video surface for video with more than or equal pixels to 25 // Use external video surface for video with more than or equal pixels to
29 // specified value. For example, value of 0 will enable external video surface 26 // specified value. For example, value of 0 will enable external video surface
30 // for all videos, and value of 921600 (=1280*720) will enable external video 27 // for all videos, and value of 921600 (=1280*720) will enable external video
31 // surface for 720p video and larger. 28 // surface for 720p video and larger.
32 const char kUseExternalVideoSurfaceThresholdInPixels[] = 29 const char kUseExternalVideoSurfaceThresholdInPixels[] =
33 "use-external-video-surface-threshold-in-pixels"; 30 "use-external-video-surface-threshold-in-pixels";
(...skipping 28 matching lines...) Expand all
62 // Number of buffers to use for WaveOut. 59 // Number of buffers to use for WaveOut.
63 const char kWaveOutBuffers[] = "waveout-buffers"; 60 const char kWaveOutBuffers[] = "waveout-buffers";
64 #endif 61 #endif
65 62
66 #if defined(USE_CRAS) 63 #if defined(USE_CRAS)
67 // Use CRAS, the ChromeOS audio server. 64 // Use CRAS, the ChromeOS audio server.
68 const char kUseCras[] = "use-cras"; 65 const char kUseCras[] = "use-cras";
69 #endif 66 #endif
70 67
71 } // namespace switches 68 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698