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

Unified Diff: media/base/android/media_codec_util.cc

Issue 2379303003: media: Delete code checking for pre-JellyBean Android versions (Closed)
Patch Set: Created 4 years, 3 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/android/media_codec_util.cc
diff --git a/media/base/android/media_codec_util.cc b/media/base/android/media_codec_util.cc
index e507936f4f8e7c9bfce91189cb72e3b060c3788c..efaa54aa9fa17787093b0f15d7df8d1f0c1e83d8 100644
--- a/media/base/android/media_codec_util.cc
+++ b/media/base/android/media_codec_util.cc
@@ -89,11 +89,7 @@ static bool IsDecoderSupportedByDevice(const std::string& android_mime_type) {
// static
bool MediaCodecUtil::IsMediaCodecAvailable() {
- // MediaCodec is only available on JB and greater.
- if (base::android::BuildInfo::GetInstance()->sdk_int() < 16)
- return false;
-
- // Blacklist some devices on Jellybean as for MediaCodec support is buggy.
+ // Blacklist some devices on Jellybean as MediaCodec is buggy.
// http://crbug.com/365494, http://crbug.com/615872
if (base::android::BuildInfo::GetInstance()->sdk_int() <= 19) {
std::string model(base::android::BuildInfo::GetInstance()->model());
« media/audio/android/audio_android_unittest.cc ('K') | « media/audio/android/audio_record_input.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698