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

Unified Diff: media/blink/webmediaplayer_params.cc

Issue 2605993002: Experiment with more aggressive MSE GC on memory pressure (Closed)
Patch Set: rebase/resolve conflicts 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 | « media/blink/webmediaplayer_params.h ('k') | media/filters/chunk_demuxer.h » ('j') | 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 ac83ceb14c80a3b20f033be36e06b259db82e4e5..ebace61d6d50369c2781c1de323714284b3743ec 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,
+ bool enable_instant_source_buffer_gc,
bool allow_suspend)
: defer_load_cb_(defer_load_cb),
audio_renderer_sink_(audio_renderer_sink),
@@ -38,6 +39,7 @@ WebMediaPlayerParams::WebMediaPlayerParams(
media_observer_(media_observer),
max_keyframe_distance_to_disable_background_video_(
max_keyframe_distance_to_disable_background_video),
+ enable_instant_source_buffer_gc_(enable_instant_source_buffer_gc),
allow_suspend_(allow_suspend) {}
WebMediaPlayerParams::~WebMediaPlayerParams() {}
« no previous file with comments | « media/blink/webmediaplayer_params.h ('k') | media/filters/chunk_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698