I get the following exception when trying to close my MFX session.
The stack trace is
I am able to "continue" from this exception, but it's very annoying. What am I doing wrong?
I'm using MFX 1.17 on Windows x64. The stack trace indicates that it may have something to do with freeing surfaces. I'm using custom allocated system memory surfaces that I manually destroy before calling Close. Is that wrong?
Is this on Skylake? I get the same problem, which resolves itself if I switch to DirectX 11. I also found that using
mfxInitParam::GPUCopy = MFX_GPUCOPY_OFF
removed the problem, does this work for you?