diff --git a/gfx/layers/basic/BasicImages.cpp b/gfx/layers/basic/BasicImages.cpp index 2358ebe86ae..217de1a373a 100644 --- a/gfx/layers/basic/BasicImages.cpp +++ b/gfx/layers/basic/BasicImages.cpp @@ -232,6 +232,7 @@ BasicPlanarYCbCrImage::SetData(const Data& aData) type); } } + SetOffscreenFormat(format); mSize = size; }