I am using IMFTransform and I will get the buffer.
using this:sample->ConvertToContiguousBuffer(&buffer);
if I keep this code in while(true)
to get the ProcessOutput. the memory will increase again and again(very small).
and If I remove this code the memory will not increase.