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

Unified Diff: media/base/media_switches.cc

Issue 2170303002: Make MSE buffer sizes configurable via command line (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Progapage the new switches from browser to renderer process + fix Created 4 years, 5 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
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 5f710396399b52397dff9697304d930dc61933cf..ad1bcc8f37205fce993712ab5f63c4ad31c369b7 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -129,6 +129,11 @@ const char kEnableVp9InMp4[] = "enable-vp9-in-mp4";
// Force media player using SurfaceView instead of SurfaceTexture on Android.
const char kForceVideoOverlays[] = "force-video-overlays";
+// Allows explicitly specifying MSE audio/video buffer sizes.
+// Default values are 150M for video and 12M for audio.
+const char kMSEAudioBufferSize[] = "mse-audio-buffer-size";
wolenetz 2016/07/28 23:02:15 nit ditto: (include "limit" in the flag text)
+const char kMSEVideoBufferSize[] = "mse-video-buffer-size";
+
} // namespace switches
namespace media {

Powered by Google App Engine
This is Rietveld 408576698