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

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

Issue 2276343005: Delete MediaCodecPlayer, it's time! (Closed)
Patch Set: Created 4 years, 3 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 // Force to report VP9 as an unsupported MIME type. 20 // Force to report VP9 as an unsupported MIME type.
21 const char kReportVp9AsAnUnsupportedMimeType[] = 21 const char kReportVp9AsAnUnsupportedMimeType[] =
22 "report-vp9-as-an-unsupported-mime-type"; 22 "report-vp9-as-an-unsupported-mime-type";
23 23
24 #if defined(OS_ANDROID) 24 #if defined(OS_ANDROID)
25 // Sets the MediaSource player that uses UI thread for frame processing.
26 const char kDisableMediaThreadForMediaPlayback[] =
27 "disable-media-thread-for-media-playback";
28
29 // Use WebMediaPlayerAndroid instead of WebMediaPlayerImpl. This is a temporary 25 // Use WebMediaPlayerAndroid instead of WebMediaPlayerImpl. This is a temporary
30 // switch for holding back the new unified media pipeline. 26 // switch for holding back the new unified media pipeline.
31 const char kDisableUnifiedMediaPipeline[] = "disable-unified-media-pipeline"; 27 const char kDisableUnifiedMediaPipeline[] = "disable-unified-media-pipeline";
32
33 // Sets the MediaSource player that uses the separate media thread
34 const char kEnableMediaThreadForMediaPlayback[] =
35 "enable-media-thread-for-media-playback";
36 #endif 28 #endif
37 29
38 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 30 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
39 // The Alsa device to use when opening an audio input stream. 31 // The Alsa device to use when opening an audio input stream.
40 const char kAlsaInputDevice[] = "alsa-input-device"; 32 const char kAlsaInputDevice[] = "alsa-input-device";
41 // The Alsa device to use when opening an audio stream. 33 // The Alsa device to use when opening an audio stream.
42 const char kAlsaOutputDevice[] = "alsa-output-device"; 34 const char kAlsaOutputDevice[] = "alsa-output-device";
43 #endif 35 #endif
44 36
45 // Use GpuMemoryBuffers for Video Capture when this is an option for the device. 37 // Use GpuMemoryBuffers for Video Capture when this is an option for the device.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 #endif 157 #endif
166 158
167 // Use shared block-based buffering for media. 159 // Use shared block-based buffering for media.
168 const base::Feature kUseNewMediaCache{"use-new-media-cache", 160 const base::Feature kUseNewMediaCache{"use-new-media-cache",
169 base::FEATURE_ENABLED_BY_DEFAULT}; 161 base::FEATURE_ENABLED_BY_DEFAULT};
170 // Correct video colors based on output display? 162 // Correct video colors based on output display?
171 const base::Feature kVideoColorManagement{"video-color-management", 163 const base::Feature kVideoColorManagement{"video-color-management",
172 base::FEATURE_DISABLED_BY_DEFAULT}; 164 base::FEATURE_DISABLED_BY_DEFAULT};
173 165
174 } // namespace media 166 } // 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