Bug 1097276 - Disable fragmented MP4 support on Android r=rillian a=lmandel
authorJames Willcox <jwillcox@mozilla.com>
Wed, 12 Nov 2014 09:12:58 -0600
changeset 226032 f7dd649eb2f6
parent 226031 5cbc59a67d8c
child 226033 43fd2720be09
push id4116
push userjwillcox@mozilla.com
push date2014-11-12 18:22 +0000
treeherdermozilla-beta@f7dd649eb2f6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian, lmandel
bugs1097276
milestone34.0
Bug 1097276 - Disable fragmented MP4 support on Android r=rillian a=lmandel
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -591,19 +591,19 @@ pref("media.preload.auto", 2);    // pre
 // Number of video frames we buffer while decoding video.
 // On Android this is decided by a similar value which varies for
 // each OMX decoder |OMX_PARAM_PORTDEFINITIONTYPE::nBufferCountMin|. This
 // number must be less than the OMX equivalent or gecko will think it is
 // chronically starved of video frames. All decoders seen so far have a value
 // of at least 4.
 pref("media.video-queue.default-size", 3);
 
-// Enable the MediaCodec PlatformDecoderModule by default.
-pref("media.fragmented-mp4.exposed", true);
-pref("media.fragmented-mp4.enabled", true);
+// Disable the MediaCodec PlatformDecoderModule by default.
+pref("media.fragmented-mp4.exposed", false);
+pref("media.fragmented-mp4.enabled", false);
 pref("media.fragmented-mp4.android-media-codec.enabled", false);
 pref("media.fragmented-mp4.android-media-codec.preferred", false);
 
 // optimize images memory usage
 pref("image.mem.decodeondraw", true);
 pref("image.mem.min_discard_timeout_ms", 10000);
 
 #ifdef NIGHTLY_BUILD