mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
miscellaneous Windows XP fixes
This commit is contained in:
parent
db0b8b5341
commit
0d6f4484c4
12 changed files with 404 additions and 28 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -34,8 +34,10 @@ public:
|
|||
void DownloadProgressed() override {}
|
||||
void UpdateReadyState() override {}
|
||||
void FirstFrameLoaded() override {}
|
||||
#ifdef MOZ_EME
|
||||
void DispatchEncrypted(const nsTArray<uint8_t>& aInitData,
|
||||
const nsAString& aInitDataType) override {}
|
||||
#endif
|
||||
bool IsActive() const override { return true; }
|
||||
bool IsHidden() const override { return false; }
|
||||
void DownloadSuspended() override {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue