Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

ResetDecoder

MyMother
Beginner
347 Views

hi,

OS: Ubuntu 12.04

       MediaSamples_Linux_6.0.16043175.175

       MediaServerStudioEssentials2015R6

Platform:  i5-4570S

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);
    ...
}

Thanks

0 Kudos
1 Reply
Surbhi_M_Intel
Employee
347 Views

Hi there, 

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. 

-Surbhi

0 Kudos
Reply