1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

Issue #2041 - Add animation support for JPEG-XL.

Based on Mozilla phab D122158, intended for bug 1709818.
This commit is contained in:
Job Bautista
2022-12-02 11:15:05 +08:00
committed by roytam1
parent 9b4c0ef4e9
commit 042b8f37ae
3 changed files with 94 additions and 12 deletions
+5
View File
@@ -204,6 +204,11 @@ DecoderFactory::CreateAnimationDecoder(DecoderType aType,
MOZ_ASSERT(aType == DecoderType::GIF || aType == DecoderType::PNG ||
aType == DecoderType::WEBP,
#ifdef MOZ_JXL
|| aType == DecoderType::JXL,
#else
,
#endif
"Calling CreateAnimationDecoder for non-animating DecoderType");
// Create an anonymous decoder. Interaction with the SurfaceCache and the