Backed out changeset 7dfbe52d1a2b a=lmandel
authorJames Willcox <jwillcox@mozilla.com>
Tue, 11 Nov 2014 15:58:38 -0600
changeset 226027 b0fea8a116aa
parent 226026 7dfbe52d1a2b
child 226028 cd70fa61662a
push id4113
push userjwillcox@mozilla.com
push date2014-11-11 22:21 +0000
treeherdermozilla-beta@cd70fa61662a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslmandel
milestone34.0
backs out7dfbe52d1a2b
Backed out changeset 7dfbe52d1a2b a=lmandel
content/media/fmp4/MP4Decoder.cpp
--- a/content/media/fmp4/MP4Decoder.cpp
+++ b/content/media/fmp4/MP4Decoder.cpp
@@ -178,18 +178,18 @@ static bool
 HavePlatformMPEGDecoders()
 {
   return Preferences::GetBool("media.fragmented-mp4.use-blank-decoder") ||
 #ifdef XP_WIN
          // We have H.264/AAC platform decoders on Windows Vista and up.
          IsVistaOrLater() ||
 #endif
 #ifdef MOZ_WIDGET_ANDROID
-         // Works on 16 and higher, but restrict to 21 (Lollipop) and higher
-         (AndroidBridge::Bridge()->GetAPIVersion() >= 21) ||
+         // We need android.media.MediaCodec which exists in API level 16 and higher.
+         (AndroidBridge::Bridge()->GetAPIVersion() >= 16) ||
 #endif
          IsFFmpegAvailable() ||
          IsAppleAvailable() ||
          IsGonkMP4DecoderAvailable() ||
          // TODO: Other platforms...
          false;
 }