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

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

Issue 1997783002: Revert "Flip unified media pipeline to default-on w/ disabled holdback." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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') | no next file » | 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 7
8 namespace switches { 8 namespace switches {
9 9
10 // Allow users to specify a custom buffer size for debugging purpose. 10 // Allow users to specify a custom buffer size for debugging purpose.
11 const char kAudioBufferSize[] = "audio-buffer-size"; 11 const char kAudioBufferSize[] = "audio-buffer-size";
12 12
13 // Set number of threads to use for video decoding. 13 // Set number of threads to use for video decoding.
14 const char kVideoThreads[] = "video-threads"; 14 const char kVideoThreads[] = "video-threads";
15 15
16 // Suspend media pipeline on background tabs. 16 // Suspend media pipeline on background tabs.
17 const char kEnableMediaSuspend[] = "enable-media-suspend"; 17 const char kEnableMediaSuspend[] = "enable-media-suspend";
18 const char kDisableMediaSuspend[] = "disable-media-suspend"; 18 const char kDisableMediaSuspend[] = "disable-media-suspend";
19 19
20 #if defined(OS_ANDROID) 20 #if defined(OS_ANDROID)
21 // Sets the MediaSource player that uses UI thread for frame processing. 21 // Sets the MediaSource player that uses UI thread for frame processing.
22 const char kDisableMediaThreadForMediaPlayback[] = 22 const char kDisableMediaThreadForMediaPlayback[] =
23 "disable-media-thread-for-media-playback"; 23 "disable-media-thread-for-media-playback";
24 24
25 // Use WebMediaPlayerAndroid instead of WebMediaPlayerImpl. This is a temporary
26 // switch for holding back the new unified media pipeline.
27 const char kDisableUnifiedMediaPipeline[] = "disable-unified-media-pipeline";
28
29 // Sets the MediaSource player that uses the separate media thread 25 // Sets the MediaSource player that uses the separate media thread
30 const char kEnableMediaThreadForMediaPlayback[] = 26 const char kEnableMediaThreadForMediaPlayback[] =
31 "enable-media-thread-for-media-playback"; 27 "enable-media-thread-for-media-playback";
28
29 // Use WebMediaPlayerImpl instead of WebMediaPlayerAndroid. This is a temporary
30 // switch for experimenting with unifying the Android playback pipeline.
31 const char kEnableUnifiedMediaPipeline[] = "enable-unified-media-pipeline";
32 #endif 32 #endif
33 33
34 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 34 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
35 // The Alsa device to use when opening an audio input stream. 35 // The Alsa device to use when opening an audio input stream.
36 const char kAlsaInputDevice[] = "alsa-input-device"; 36 const char kAlsaInputDevice[] = "alsa-input-device";
37 // The Alsa device to use when opening an audio stream. 37 // The Alsa device to use when opening an audio stream.
38 const char kAlsaOutputDevice[] = "alsa-output-device"; 38 const char kAlsaOutputDevice[] = "alsa-output-device";
39 #endif 39 #endif
40 40
41 // Use GpuMemoryBuffers for Video Capture when this is an option for the device. 41 // Use GpuMemoryBuffers for Video Capture when this is an option for the device.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 } // namespace switches 117 } // namespace switches
118 118
119 namespace media { 119 namespace media {
120 120
121 // Use shared block-based buffering for media. 121 // Use shared block-based buffering for media.
122 const base::Feature kUseNewMediaCache{"use-new-media-cache", 122 const base::Feature kUseNewMediaCache{"use-new-media-cache",
123 base::FEATURE_DISABLED_BY_DEFAULT}; 123 base::FEATURE_DISABLED_BY_DEFAULT};
124 124
125 } // namespace media 125 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698