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

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

Issue 2723833002: WebM support for new multipart VP9 string. (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « media/base/media_switches.h ('k') | media/base/mime_util_internal.h » ('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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "media/base/media_switches.h" 6 #include "media/base/media_switches.h"
7 #include "ppapi/features/features.h" 7 #include "ppapi/features/features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
11 // Allow users to specify a custom buffer size for debugging purpose. 11 // Allow users to specify a custom buffer size for debugging purpose.
12 const char kAudioBufferSize[] = "audio-buffer-size"; 12 const char kAudioBufferSize[] = "audio-buffer-size";
13 13
14 // Set number of threads to use for video decoding. 14 // Set number of threads to use for video decoding.
15 const char kVideoThreads[] = "video-threads"; 15 const char kVideoThreads[] = "video-threads";
16 16
17 // Suspend media pipeline on background tabs. 17 // Suspend media pipeline on background tabs.
18 const char kEnableMediaSuspend[] = "enable-media-suspend"; 18 const char kEnableMediaSuspend[] = "enable-media-suspend";
19 const char kDisableMediaSuspend[] = "disable-media-suspend"; 19 const char kDisableMediaSuspend[] = "disable-media-suspend";
20 20
21 // Force to report VP9 as an unsupported MIME type. 21 // Force to report VP9 as an unsupported MIME type.
22 const char kReportVp9AsAnUnsupportedMimeType[] = 22 const char kReportVp9AsAnUnsupportedMimeType[] =
23 "report-vp9-as-an-unsupported-mime-type"; 23 "report-vp9-as-an-unsupported-mime-type";
24 24
25 // Enable parsing of new multi-part VP9 string for webm.
26 const char kEnableNewVp9CodecString[] = "enable-new-vp9-codec-string";
27
25 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 28 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
26 // The Alsa device to use when opening an audio input stream. 29 // The Alsa device to use when opening an audio input stream.
27 const char kAlsaInputDevice[] = "alsa-input-device"; 30 const char kAlsaInputDevice[] = "alsa-input-device";
28 // The Alsa device to use when opening an audio stream. 31 // The Alsa device to use when opening an audio stream.
29 const char kAlsaOutputDevice[] = "alsa-output-device"; 32 const char kAlsaOutputDevice[] = "alsa-output-device";
30 #endif 33 #endif
31 34
32 #if defined(OS_WIN) 35 #if defined(OS_WIN)
33 // Use exclusive mode audio streaming for Windows Vista and higher. 36 // Use exclusive mode audio streaming for Windows Vista and higher.
34 // Leads to lower latencies for audio streams which uses the 37 // Leads to lower latencies for audio streams which uses the
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 204
202 // An experimental feature to enable persistent-license type support in MediaDrm 205 // An experimental feature to enable persistent-license type support in MediaDrm
203 // when using Encrypted Media Extensions (EME) API. 206 // when using Encrypted Media Extensions (EME) API.
204 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 207 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521
205 const base::Feature kMediaDrmPersistentLicense{ 208 const base::Feature kMediaDrmPersistentLicense{
206 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; 209 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT};
207 210
208 #endif 211 #endif
209 212
210 } // namespace media 213 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/base/mime_util_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698