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

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

Issue 2681643006: Remove kDisableUnifiedMediaPipeline (Closed)
Patch Set: Addressed comments Created 3 years, 10 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
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 #if defined(OS_ANDROID)
26 // Use WebMediaPlayerAndroid instead of WebMediaPlayerImpl. This is a temporary
27 // switch for holding back the new unified media pipeline.
28 const char kDisableUnifiedMediaPipeline[] = "disable-unified-media-pipeline";
29 #endif
30
31 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 25 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
32 // The Alsa device to use when opening an audio input stream. 26 // The Alsa device to use when opening an audio input stream.
33 const char kAlsaInputDevice[] = "alsa-input-device"; 27 const char kAlsaInputDevice[] = "alsa-input-device";
34 // The Alsa device to use when opening an audio stream. 28 // The Alsa device to use when opening an audio stream.
35 const char kAlsaOutputDevice[] = "alsa-output-device"; 29 const char kAlsaOutputDevice[] = "alsa-output-device";
36 #endif 30 #endif
37 31
38 #if defined(OS_WIN) 32 #if defined(OS_WIN)
39 // Use exclusive mode audio streaming for Windows Vista and higher. 33 // Use exclusive mode audio streaming for Windows Vista and higher.
40 // Leads to lower latencies for audio streams which uses the 34 // Leads to lower latencies for audio streams which uses the
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 const base::Feature kExternalClearKeyForTesting{ 194 const base::Feature kExternalClearKeyForTesting{
201 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; 195 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT};
202 196
203 #if defined(OS_ANDROID) 197 #if defined(OS_ANDROID)
204 // Lock the screen orientation when a video goes fullscreen. 198 // Lock the screen orientation when a video goes fullscreen.
205 const base::Feature kVideoFullscreenOrientationLock{ 199 const base::Feature kVideoFullscreenOrientationLock{
206 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT}; 200 "VideoFullscreenOrientationLock", base::FEATURE_ENABLED_BY_DEFAULT};
207 #endif 201 #endif
208 202
209 } // namespace media 203 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698