Issue #2357 - Paused WebM videos w/alpha are 100% transparent if HA is disabled.

Mozilla found a bug in their initial implementation, causing paused WebM videos with alpha to become totally transparent if hardware acceleration is disabled. Straight port of the Firefox 54 fix.

Ref: BZ 1332952
This commit is contained in:
Jeremy Andrews 2023-10-23 22:36:00 -05:00 committed by roytam1
commit 9982ceb94f
2 changed files with 27 additions and 1 deletions

View file

@ -51,6 +51,7 @@ private:
gfx::IntSize mSize;
RefPtr<ImageClient> mCompositable;
RefPtr<TextureClient> mTextureClient;
nsCountedRef<nsMainThreadSourceSurfaceRef> mSourceSurface;
};
} // namespace layers