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

Unified Diff: media/base/media_switches.cc

Issue 15063003: Cut content/browser dependency on webkit_media (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 b3292cb3ef17818b60f1c9db6bb9dd0b6af284a5..98a10ffc2b7a17f7ef0a19c21f35200a42c4f175 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -55,4 +55,14 @@ const char kEnableEac3Playback[] = "enable-eac3-playback";
const char kWaveOutBuffers[] = "waveout-buffers";
#endif
+#if defined(OS_ANDROID)
+// Use external video surface for video with more than or equal pixels to
+// specified value. For example, value of 0 will enable external video surface
+// for all videos, and value of 921600 (=1280*720) will enable external video
+// surface for 720p video and larger.
+const char kUseExternalVideoSurfaceThresholdInPixels[] =
+ "use-external-video-surface-threshold-in-pixels";
+#endif
+
+
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698