miscellaneous Windows XP fixes

This commit is contained in:
Roy Tam 2019-02-22 21:36:33 +08:00
commit 0d6f4484c4
12 changed files with 404 additions and 28 deletions

View file

@ -52,14 +52,6 @@ IsWhitelistedH264Codec(const nsAString& aCodec)
return false;
}
#ifdef XP_WIN
// Disable 4k video on windows vista since it performs poorly.
if (!IsWin7OrLater() &&
level >= H264_LEVEL_5) {
return false;
}
#endif
// Just assume what we can play on all platforms the codecs/formats that
// WMF can play, since we don't have documentation about what other
// platforms can play... According to the WMF documentation: