Bug 1200834 - Disable MSE WebM playback. r=k17e a=sylvestre
authorRalph Giles <giles@mozilla.com>
Wed, 02 Sep 2015 16:41:26 -0700
changeset 289161 61696a11d20d1f70ac7cb43d673d9641a4e0129f
parent 289160 93acdc6a833d738979e974d5ab78c750233c937d
child 289162 42e50196913ffc5d8c2fccc6650143ccc15a5011
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersk17e, sylvestre
bugs1200834
milestone42.0a2
Bug 1200834 - Disable MSE WebM playback. r=k17e a=sylvestre Previously it was enabled for Linux, where we don't have good mp4 or flash support to fall back on. We're concerned about stability of WebM MSE playback and prefer to delay this, which means we need to disable WebM *and* disable MSE on Linux where WebM is the only implementation option.
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -463,25 +463,24 @@ pref("media.getusermedia.audiocapture.en
 // TextTrack support
 pref("media.webvtt.enabled", true);
 pref("media.webvtt.regions.enabled", false);
 
 // AudioTrack and VideoTrack support
 pref("media.track.enabled", false);
 
 // Whether to enable MediaSource support.
+#if defined(XP_WIN) || defined(XP_MACOSX) || defined(MOZ_WIDGET_GONK) || defined(MOZ_WIDGET_ANDROID)
 pref("media.mediasource.enabled", true);
+#else
+pref("media.mediasource.enabled", false);
+#endif
 
 pref("media.mediasource.mp4.enabled", true);
-
-#if defined(XP_WIN) || defined(XP_MACOSX) || defined(MOZ_WIDGET_GONK) || defined(MOZ_WIDGET_ANDROID)
 pref("media.mediasource.webm.enabled", false);
-#else
-pref("media.mediasource.webm.enabled", true);
-#endif
 
 // Enable new MediaSource architecture.
 pref("media.mediasource.format-reader", true);
 
 // Enable new MediaFormatReader architecture for webm in MSE
 pref("media.mediasource.format-reader.webm", false);
 // Enable new MediaFormatReader architecture for plain webm.
 pref("media.format-reader.webm", true);