mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1207429: P1. remove media.fragmented-mp4.exposed pref. r=kentuckyfriedtakahe
This commit is contained in:
parent
8c0baa5dda
commit
cf06612670
@ -349,8 +349,7 @@ IsMP4SupportedType(const nsACString& aType,
|
||||
{
|
||||
// MP4Decoder/Reader is currently used for MSE and mp4 files local playback.
|
||||
bool haveAAC, haveMP3, haveH264;
|
||||
return Preferences::GetBool("media.fragmented-mp4.exposed", false) &&
|
||||
MP4Decoder::CanHandleMediaType(aType, aCodecs, haveAAC, haveH264, haveMP3);
|
||||
return MP4Decoder::CanHandleMediaType(aType, aCodecs, haveAAC, haveH264, haveMP3);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -399,7 +399,6 @@ function SetupEME(test, token, params)
|
||||
function SetupEMEPref(callback) {
|
||||
var prefs = [
|
||||
[ "media.mediasource.enabled", true ],
|
||||
[ "media.fragmented-mp4.exposed", true ],
|
||||
[ "media.eme.apiVisible", true ],
|
||||
];
|
||||
|
||||
|
@ -131,8 +131,7 @@ function IsJellyBeanOrLater() {
|
||||
|
||||
// Check whether we should expect the new MP4Reader-based support to work.
|
||||
function IsMP4ReaderAvailable() {
|
||||
var prefs = getPref("media.fragmented-mp4.enabled") &&
|
||||
getPref("media.fragmented-mp4.exposed");
|
||||
var prefs = getPref("media.fragmented-mp4.enabled");
|
||||
return prefs && (IsWindowsVistaOrLater() || IsMacOSSnowLeopardOrLater() || IsJellyBeanOrLater());
|
||||
}
|
||||
|
||||
|
@ -589,7 +589,6 @@ pref("media.cache_readahead_limit", 30);
|
||||
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);
|
||||
|
@ -314,12 +314,6 @@ pref("media.directshow.enabled", true);
|
||||
pref("media.fragmented-mp4.enabled", true);
|
||||
pref("media.fragmented-mp4.ffmpeg.enabled", false);
|
||||
pref("media.fragmented-mp4.gmp.enabled", false);
|
||||
#if defined(XP_WIN) && defined(MOZ_WMF) || defined(XP_MACOSX) || defined(MOZ_WIDGET_GONK)
|
||||
// Denotes that the fragmented MP4 parser can be created by <video> elements.
|
||||
pref("media.fragmented-mp4.exposed", true);
|
||||
#else
|
||||
pref("media.fragmented-mp4.exposed", false);
|
||||
#endif
|
||||
// Specifies whether the fragmented MP4 parser uses a test decoder that
|
||||
// just outputs blank frames/audio instead of actually decoding. The blank
|
||||
// decoder works on all platforms.
|
||||
|
Loading…
Reference in New Issue
Block a user