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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2628313002: [Media] Plumb a feature parameter for the background video keyframe distance. (Closed)
Patch Set: Changed the param to milliseconds Created 3 years, 11 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 | « content/renderer/render_frame_impl.cc ('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/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index a4bb832bf62f861b2dac8c2440d88def0291da6d..af26096083c03d17ae07222189f751904a7ca3c4 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -650,9 +650,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
// The maximum video keyframe distance that allows triggering background
// playback optimizations.
- // 10 seconds by default but can be overridden by a Finch experiment.
- base::TimeDelta max_keyframe_distance_to_disable_background_video_ =
- base::TimeDelta::FromSeconds(10);
+ base::TimeDelta max_keyframe_distance_to_disable_background_video_;
// Whether disabled the video track as an optimization.
bool video_track_disabled_ = false;
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698