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

Unified Diff: media/base/media_switches.cc

Issue 1034233002: Move underflow threshold limits out of the video renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@frame_time
Patch Set: Add flag. Created 5 years, 9 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 1ae376d238459dfd2da45b93f7543432f1d227c3..ac9420126efb9f48eb247a33c2f3af1c325a0c30 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -110,4 +110,9 @@ const char kEnableInbandTextTracks[] = "enable-inband-text-tracks";
const char kRequireAudioHardwareForTesting[] =
"require-audio-hardware-for-testing";
+// Allows clients to override the threshold for when the media renderer will
+// declare the underflow state for the video stream when audio is present.
+// TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish.
+const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms";
+
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698