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

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

Issue 2796193002: fix canplaythrough (Closed)
Patch Set: kSpecCompliantCanPlayThrough Created 3 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') | media/blink/buffered_data_source_host_impl.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
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // Make MSE garbage collection algorithm more aggressive when we are under 193 // Make MSE garbage collection algorithm more aggressive when we are under
194 // moderate or critical memory pressure. This will relieve memory pressure by 194 // moderate or critical memory pressure. This will relieve memory pressure by
195 // releasing stale data from MSE buffers. 195 // releasing stale data from MSE buffers.
196 const base::Feature kMemoryPressureBasedSourceBufferGC{ 196 const base::Feature kMemoryPressureBasedSourceBufferGC{
197 "MemoryPressureBasedSourceBufferGC", base::FEATURE_DISABLED_BY_DEFAULT}; 197 "MemoryPressureBasedSourceBufferGC", base::FEATURE_DISABLED_BY_DEFAULT};
198 198
199 // Use the new Remote Playback / media flinging pipeline. 199 // Use the new Remote Playback / media flinging pipeline.
200 const base::Feature kNewRemotePlaybackPipeline{ 200 const base::Feature kNewRemotePlaybackPipeline{
201 "NewRemotePlaybackPipeline", base::FEATURE_DISABLED_BY_DEFAULT}; 201 "NewRemotePlaybackPipeline", base::FEATURE_DISABLED_BY_DEFAULT};
202 202
203 // CanPlayThrough issued according to standard.
204 const base::Feature kSpecCompliantCanPlayThrough{
205 "CanPlayThrough", base::FEATURE_DISABLED_BY_DEFAULT};
206
203 // Use shared block-based buffering for media. 207 // Use shared block-based buffering for media.
204 const base::Feature kUseNewMediaCache{"use-new-media-cache", 208 const base::Feature kUseNewMediaCache{"use-new-media-cache",
205 base::FEATURE_ENABLED_BY_DEFAULT}; 209 base::FEATURE_ENABLED_BY_DEFAULT};
206 210
207 // Correct video colors based on output display? 211 // Correct video colors based on output display?
208 const base::Feature kVideoColorManagement{"video-color-management", 212 const base::Feature kVideoColorManagement{"video-color-management",
209 base::FEATURE_DISABLED_BY_DEFAULT}; 213 base::FEATURE_DISABLED_BY_DEFAULT};
210 214
211 // Inform video blitter of video color space. 215 // Inform video blitter of video color space.
212 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy", 216 const base::Feature kVideoBlitColorAccuracy{"video-blit-color-accuracy",
(...skipping 27 matching lines...) Expand all
240 // This is completely insecure - DO NOT USE except for testing. 244 // This is completely insecure - DO NOT USE except for testing.
241 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding", 245 const base::Feature kD3D11VideoDecoding{"D3D11VideoDecoding",
242 base::FEATURE_DISABLED_BY_DEFAULT}; 246 base::FEATURE_DISABLED_BY_DEFAULT};
243 247
244 // Enables H264 HW encode acceleration using Media Foundation for Windows. 248 // Enables H264 HW encode acceleration using Media Foundation for Windows.
245 const base::Feature kMediaFoundationH264Encoding{ 249 const base::Feature kMediaFoundationH264Encoding{
246 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; 250 "MediaFoundationH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT};
247 #endif // defined(OS_WIN) 251 #endif // defined(OS_WIN)
248 252
249 } // namespace media 253 } // namespace media
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/blink/buffered_data_source_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698