I am using IMFTransform to decode H264 to NV12.
I have feed many data transform>ProcessInput
and it returns ok.
and I read output transform->ProcessOutput
and it returns ok too.
but in one or two minutes later (the ProcessInput and ProcessOutput execute many times since I do not set sleep).
it do not work.
the program run here and does not run anymore.
I have logged the info.like this:
printf("begin inn");
transform->ProcessInput(0,sample,0);
printf("end inn");
and
printf("begin outputn");
transform->ProcessOutput(0,1,&outputDataBuffer,&status);
printf("end outputn");
it only output :begin in and begin output.
like the program suspended(autually not). it is running the code transform->ProcessOutput(0,1,&outputDataBuffer,&status);
and never returned.
there is no value returned.
is it the system memory is too low? but I open Task Manager and it shows I only use 60mb memory.