Bug 1311960 - Turn on remote media decoding preference on Android Nightly. r=snorp
☠☠ backed out by ddb157d399d0 ☠ ☠
authorJohn Lin <jolin@mozilla.com>
Fri, 21 Oct 2016 18:07:52 +0800
changeset 346351 baf3f0f96116953ca8328711233e6d1c3f59e0c2
parent 346350 b3275f223e26df0a672e3cdbc2a27602e7570dc6
child 346352 1181ec8f8ceed76b314aaa6ef583e66be232b42e
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1311960
milestone52.0a1
Bug 1311960 - Turn on remote media decoding preference on Android Nightly. r=snorp MozReview-Commit-ID: KZ5l7L3rnMu
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -614,17 +614,21 @@ pref("media.cache_readahead_limit", 30);
 // 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.android-media-codec.enabled", true);
 pref("media.android-media-codec.preferred", true);
 // Run decoder in seperate process.
+#ifdef NIGHTLY_BUILD
+pref("media.android-remote-codec.enabled", true);
+#else
 pref("media.android-remote-codec.enabled", false);
+#endif
 
 // Enable MSE
 pref("media.mediasource.enabled", true);
 
 // optimize images memory usage
 pref("image.downscale-during-decode.enabled", true);
 
 pref("browser.safebrowsing.downloads.enabled", false);