Bug 487305 - create video surface element with RGB24 colour format instead of ARGB32. r=joe

This commit is contained in:
Jeff Muizelaar 2009-05-12 15:25:05 -04:00
parent 544ceffa17
commit ab93609bae

View File

@ -227,7 +227,7 @@ void nsMediaDecoder::Paint(gfxContext* aContext,
new gfxImageSurface(mRGB,
gfxIntSize(mRGBWidth, mRGBHeight),
mRGBWidth * 4,
gfxASurface::ImageFormatARGB32);
gfxASurface::ImageFormatRGB24);
if (!surface)
return;