mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1084441 - Test for ability to play MP4 on Android Jelly Bean and higher r=cpearce
This commit is contained in:
parent
dbb84a747f
commit
e7244fa944
@ -123,11 +123,15 @@ function IsLinuxGStreamer() {
|
||||
getPref("media.gstreamer.enabled");
|
||||
}
|
||||
|
||||
function IsJellyBeanOrLater() {
|
||||
return androidVersion >= 16;
|
||||
}
|
||||
|
||||
// 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");
|
||||
return prefs && (IsWindowsVistaOrLater() || IsMacOSSnowLeopardOrLater());
|
||||
return prefs && (IsWindowsVistaOrLater() || IsMacOSSnowLeopardOrLater() || IsJellyBeanOrLater());
|
||||
}
|
||||
|
||||
var haveMp4 = (getPref("media.windows-media-foundation.enabled") && IsWindowsVistaOrLater()) ||
|
||||
|
Loading…
Reference in New Issue
Block a user