diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-04-23 12:40:11 +0200 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-04-24 11:48:43 +0000 |
commit | cebad2c2a97eb29b81664cd8027121642d0ec93b (patch) | |
tree | c98d3ba14396ca88329984b55c7ad1999305c82b /src/plugins/directshow/player/videosurfacefilter.cpp | |
parent | b660ff21c6f07eb08b63ad10946326259353d864 (diff) | |
download | qtmultimedia-cebad2c2a97eb29b81664cd8027121642d0ec93b.tar.gz |
WinRT: Fix white screen for camera output
Starting with Direct3D 11.1 GetSharedHandle is not recommended to be
used.
Instead IDXGIResource1::CreateSharedHandle should be used to get a
handle for sharing. It returns NT handle and needs to call CloseHandle.
GetSharedHandle fails with E_INVALIDARG seems due to a handle is not shared.
Task-number: QTBUG-67417
Change-Id: Ib28acb8edbf737e84f5eef91e7a3a88b2f022bcb
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/plugins/directshow/player/videosurfacefilter.cpp')
0 files changed, 0 insertions, 0 deletions