I am learning MediaSDK and I am try to using simple_encode_vmem_async in the tutorial.
I changed mfxEncParams.AsyncDepth to 1. According to the comment,
mfxEncParams.AsyncDepth to 1