in my application I have to initialize and uninitialize the VPP. Reason is, that there can be different setups (usually size) for it.
When initializing the VPP using "sts = m_mfxVPP->Init(&VPPParams);" I receive the status "MFX_ERR_MEMORY_ALLOC" after some while, even if I only have one VPP instance at the same time and I'm clearing it up with "m_mfxDEC->Close(); m_mfxVPP->Close();". Afterwards I also close the session.
After some retries it works again if I restart my application, but after another amount of retries I have to restart my computer. Otherwise I'm not able to ininitalize the H.264 Encoding anymore.
What uninitializing am I missing?
Could this problem be related to memory framentation?
Thanks in advance for your advices.