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

Unified Diff: media/base/media_switches.cc

Issue 2818013002: [Media] Add a feature flag to pause bg video only players. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/media_switches.h ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 28e749dc8dbc8cbb2ae6cb3776e349355adfc14b..03b4c7685e31a19cc1f8df94f6e719030fa783ec 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -173,6 +173,10 @@ const base::Feature kResumeBackgroundVideo {
const base::Feature kBackgroundVideoTrackOptimization{
"BackgroundVideoTrackOptimization", base::FEATURE_DISABLED_BY_DEFAULT};
+// Let video without audio be paused when it is playing in the background.
+const base::Feature kBackgroundVideoPauseOptimization{
+ "BackgroundVideoPauseOptimization", base::FEATURE_DISABLED_BY_DEFAULT};
+
// Make MSE garbage collection algorithm more aggressive when we are under
// moderate or critical memory pressure. This will relieve memory pressure by
// releasing stale data from MSE buffers.
« no previous file with comments | « media/base/media_switches.h ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698