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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 936653004: Disable unprefixed EME when using "--mediadrm-enable-non-compositing". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_andorid-wv
Patch Set: Created 5 years, 10 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 | « no previous file | chromecast/browser/cast_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 37b751e933fe88d23085aec509729a1c402fef65..dc0614832b0db02b4cbc529bdd7a15a2064ee66d 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -79,8 +79,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
cl->AppendSwitch(switches::kDisableNotifications);
#if defined(VIDEO_HOLE)
- // Support EME/L1 with hole-punching.
+ // Support EME with hole-punching. For example, Widevine L1.
cl->AppendSwitch(switches::kMediaDrmEnableNonCompositing);
+ cl->AppendSwitch(switches::kDisableEncryptedMedia);
#endif
// WebRTC hardware decoding is not supported, internal bug 15075307
« no previous file with comments | « no previous file | chromecast/browser/cast_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698