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

Unified Diff: media/base/key_systems.cc

Issue 2681643006: Remove kDisableUnifiedMediaPipeline (Closed)
Patch Set: Addressed comments Created 3 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
Index: media/base/key_systems.cc
diff --git a/media/base/key_systems.cc b/media/base/key_systems.cc
index ef16ad65fbdc6bab3830ea998e7f9c7f5ec402ee..6e3d4072ea246073d7bc2fea20cc12e1c81efd2c 100644
--- a/media/base/key_systems.cc
+++ b/media/base/key_systems.cc
@@ -443,7 +443,7 @@ void KeySystemsImpl::AddSupportedKeySystems(
#if defined(OS_ANDROID)
// Ensure that the renderer can access the decoders necessary to use the
// key system.
- if (!properties->UseAesDecryptor() && !ArePlatformDecodersAvailable()) {
+ if (!properties->UseAesDecryptor() && !HasPlatformDecoderSupport()) {
DLOG(WARNING) << properties->GetKeySystemName() << " not registered";
continue;
}

Powered by Google App Engine
This is Rietveld 408576698