Unfortunately, the latest test version crashes in D3D10Texture.cpp line 89:
if(FAILED(err = GetD3D()->OpenSharedResource(handle, __uuidof(ID3D10Resource), (void**)&tempResource)))
In the debug output:
D3D10: UM Driver Internal Error.
Removing Device.
D3D10: Raising UM Driver Internal Error to continuable exception.First-chance exception at 0x7650c41f in OBS.exe: 0x00000879: 0x879.
Unhandled exception at 0x7650c41f in OBS.exe: 0x00000879: 0x879.
Callstack:
KernelBase.dll!7650c41f()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
KernelBase.dll!7650c41f()
dxgi.dll!6bdc508d()
d3d10_1core.dll!6bd5a80b()
d3d10_1core.dll!6bd7cc8f()
d3d10level9.dll!5071da0b()
d3d10level9.dll!5071daed()
d3d10level9.dll!5071f00b()
d3d10level9.dll!5072f74a()
d3d10level9.dll!50722dd8()
d3d10_1core.dll!6bd604fc()
d3d10_1core.dll!6bd63a71()
d3d10_1core.dll!6bd6aed8()
d3d10_1core.dll!6bd6b743()
nvd3dum.dll!647d0261()
dxgi.dll!6bdc4534()
dxgi.dll!6bdc4501()
dxgi.dll!6bdc48c5()
dxgi.dll!6bdc47b6()
dxgi.dll!6bdc4739()
dxgi.dll!6bdc41a8()
d3d10_1core.dll!6bd729e5()
d3d10_1core.dll!6bd670c9()
d3d10_1core.dll!6bd673cf()
d3d10_1core.dll!6bd5beac()
d3d10_1core.dll!6bd6cbb1()
> OBS.exe!D3D10Texture::CreateFromSharedHandle(unsigned int width=1600, unsigned int height=1024, GSColorFormat colorFormat=GS_RGBA, void * handle=0x800043c0) Line 88 + 0x31 bytes C++
OBS.exe!D3D10System::CreateTextureFromSharedHandle(unsigned int width=1600, unsigned int height=1024, GSColorFormat colorFormat=GS_RGBA, void * handle=0x800043c0) Line 333 + 0x15 bytes C++
GraphicsCapture.dll!SharedTexCapture::Init(CaptureInfo & info={...}) Line 68 + 0x39 bytes C++
GraphicsCapture.dll!GraphicsCaptureSource::NewCapture() Line 227 + 0x19 bytes C++
GraphicsCapture.dll!GraphicsCaptureSource::Preprocess() Line 281 C++
OBSApi.dll!Scene::Preprocess() Line 212 + 0x17 bytes C++
OBS.exe!OBS::MainCaptureLoop() Line 482 + 0x17 bytes C++
OBS.exe!OBS::MainCaptureThread(void * lpUnused=0x00000000) Line 35 C++