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

Unified Diff: media/blink/webmediaplayer_params.cc

Issue 2818823002: [Media] Add a finch trial param for background MediaSource videos (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/blink/webmediaplayer_params.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_params.cc
diff --git a/media/blink/webmediaplayer_params.cc b/media/blink/webmediaplayer_params.cc
index a89f6936a16864a399a9f955ae9f3e32f1390f06..ce635b6cc34c8ff937ba8dfd154afa2e3ba21e6b 100644
--- a/media/blink/webmediaplayer_params.cc
+++ b/media/blink/webmediaplayer_params.cc
@@ -24,6 +24,7 @@ WebMediaPlayerParams::WebMediaPlayerParams(
SurfaceManager* surface_manager,
base::WeakPtr<MediaObserver> media_observer,
base::TimeDelta max_keyframe_distance_to_disable_background_video,
+ base::TimeDelta max_keyframe_distance_to_disable_background_video_mse,
bool enable_instant_source_buffer_gc,
bool allow_suspend,
bool embedded_media_experience_enabled)
@@ -40,6 +41,8 @@ WebMediaPlayerParams::WebMediaPlayerParams(
media_observer_(media_observer),
max_keyframe_distance_to_disable_background_video_(
max_keyframe_distance_to_disable_background_video),
+ max_keyframe_distance_to_disable_background_video_mse_(
+ max_keyframe_distance_to_disable_background_video_mse),
enable_instant_source_buffer_gc_(enable_instant_source_buffer_gc),
allow_suspend_(allow_suspend),
embedded_media_experience_enabled_(embedded_media_experience_enabled) {}
« no previous file with comments | « media/blink/webmediaplayer_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698