--- a/mobile/android/app/mobile.js+++ b/mobile/android/app/mobile.js@@ -591,16 +591,22 @@ 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);+pref("media.fragmented-mp4.android-media-codec.enabled", true);+pref("media.fragmented-mp4.android-media-codec.preferred", true);+ // optimize images memory usage pref("image.mem.decodeondraw", true); pref("image.mem.min_discard_timeout_ms", 10000); #ifdef NIGHTLY_BUILD // Shumway component (SWF player) is disabled by default. Also see bug 904346. pref("shumway.disabled", true); #endif