I am getting an error from decode block of simple transcoder for my corrupted mpeg2 stream.
I am currently resetting Decode by new extracted headers from bit stream to removes MFX_ERR_LOCK_MEMORY error.
But same doesn't worked for others. In other words, for MFX_ERR_INCOMPATIBLE_VIDEO_PARAM error, when i trying to reset decoder with new header then reset returns MFX_ERR_INVALID_VIDEO_PARAM.
Plz suggest how to handle this. Actually this decoder is a part of my transcoder so do i need to do something for encoder also.