When I use sample_decode, I came across one problem:
the code of static mfxU16 FoundSuitableAdapter() has a loop. In the loop, calling of pFactory->EnumAdapters(i, &pAdapter) will cause an exception when it was called more than one time.
Here I set pAdapter nullptr when the adapter is not an Intel GPU, and it works.
Please check out this problem.
My personal environment is as following:
System : Windows 10
Processor: Intel Core i7-10700K
Memory: 65536MB
DX Edition : 12
GPU: RTX 3070
When I use sample_decode, I came across one problem: the code of
static mfxU16 FoundSuitableAdapter()
has a loop. In the loop, calling ofpFactory->EnumAdapters(i, &pAdapter)
will cause an exception when it was called more than one time. Here I set pAdapter nullptr when the adapter is not an Intel GPU, and it works. Please check out this problem.My personal environment is as following: System : Windows 10 Processor: Intel Core i7-10700K Memory: 65536MB DX Edition : 12 GPU: RTX 3070