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

Unified Diff: media/base/media.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/media.cc
diff --git a/media/base/media.cc b/media/base/media.cc
index 38daf05b8edd18960083a6eec0b38b5f9c298c79..8e9e719a70ce454bbee4c729a8ad790763107c6b 100644
--- a/media/base/media.cc
+++ b/media/base/media.cc
@@ -86,17 +86,6 @@ bool HasPlatformDecoderSupport() {
bool PlatformHasOpusSupport() {
return base::android::BuildInfo::GetInstance()->sdk_int() >= 21;
}
-
-bool IsUnifiedMediaPipelineEnabled() {
- return !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableUnifiedMediaPipeline);
-}
-
-bool ArePlatformDecodersAvailable() {
- return IsUnifiedMediaPipelineEnabled()
- ? HasPlatformDecoderSupport()
- : MediaCodecUtil::IsMediaCodecAvailable();
-}
#endif
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698