зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1765214 - Fix DCSurfaceVideo::mSwapChainSurfaceHandle initialization r=gfx-reviewers,jrmuizel
DCSurfaceVideo::mSwapChainSurfaceHandle is not initialized. It causes invalid handle close in DCSurfaceVideo::ReleaseDecodeSwapChainResources(). Differential Revision: https://phabricator.services.mozilla.com/D143966
This commit is contained in:
Родитель
88f19b2fd9
Коммит
c7f48c370b
|
@ -289,7 +289,7 @@ class DCSurfaceVideo : public DCSurface {
|
|||
RefPtr<IDXGIResource> mDecodeResource;
|
||||
RefPtr<IDXGISwapChain1> mVideoSwapChain;
|
||||
RefPtr<IDXGIDecodeSwapChain> mDecodeSwapChain;
|
||||
HANDLE mSwapChainSurfaceHandle;
|
||||
HANDLE mSwapChainSurfaceHandle = 0;
|
||||
gfx::IntSize mVideoSize;
|
||||
gfx::IntSize mSwapChainSize;
|
||||
DXGI_FORMAT mSwapChainFormat = DXGI_FORMAT_B8G8R8A8_UNORM;
|
||||
|
|
Загрузка…
Ссылка в новой задаче