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

Unified Diff: media/base/media_switches.cc

Issue 2487373003: Disable background video track behind a feature flag (Closed)
Patch Set: Added the feature flag to histograms.xml Created 4 years, 1 month 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
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index c7e02e2c39d8637983da8a9610feabf2618e2985..3be78535509bf8e4325f964d6789e695b9bf38d4 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -154,6 +154,10 @@ const base::Feature kResumeBackgroundVideo {
#endif
};
+// Let video track be unselected when video is playing in the background.
+const base::Feature kBackgroundVideoTrackOptimization{
+ "BackgroundVideoTrackOptimization", base::FEATURE_DISABLED_BY_DEFAULT};
+
// Use shared block-based buffering for media.
const base::Feature kUseNewMediaCache{"use-new-media-cache",
base::FEATURE_ENABLED_BY_DEFAULT};

Powered by Google App Engine
This is Rietveld 408576698