OS: Ubuntu 12.04
I found something below was strange.
mfxStatus CDecodingPipeline::ResetDecoder(sInputParams *pParams)
// close decoder
sts = m_pmfxDEC->Close();
// init decoder
sts = m_pmfxDEC->Init(&m_mfxVideoParams);
... ==> why there's no m_pmfxVPP->Close()?? I can find this API was used in another example
// init VPP
sts = m_pmfxVPP->Init(&m_mfxVppVideoParams);
I believe you are referring to ResetDecoder() in sample_decvpp. I agree that it is strange to not close the VPP function before initializing again. Interestingly, I have not come across an issue where this has caused any errors but it's a good point to get it cleared from the samples team. I will work with and get back to you on this. Let us know if you are seeing any strange behavior of VPP functionality in your pipeline due to this.
Thanks for bringing our attention to this.