зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1304999 - Add nullptr check of YCbCr to rgb surface r=jrmuizel
This commit is contained in:
Родитель
fb9b5be437
Коммит
a1dfbc1a44
|
@ -645,6 +645,9 @@ BasicCompositor::DrawQuad(const gfx::Rect& aRect,
|
|||
newTransform, aRect, transformedClipRect,
|
||||
dest, buffer)) {
|
||||
// we succeeded in convert and scaling
|
||||
} else if (source->mFromYCBCR &&
|
||||
!source->GetSurface(dest)) {
|
||||
gfxWarning() << "Failed to get YCbCr to rgb surface.";
|
||||
} else if (source->mFromYCBCR &&
|
||||
AttemptVideoScale(source, sourceMask, aOpacity, blendMode,
|
||||
texturedEffect,
|
||||
|
|
Загрузка…
Ссылка в новой задаче