Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

H264 decoder player: seek operation problem

$
0
0

Hi,

I use h264_dec_filter.dll from the sample code of the Intel Media SDK in my directshow player.
The decoding function is great and the player can play the H.264 video.
But when I use IMediaSeeking::SetPositions to seek the media to a specific time, the video screen will be frozen.

I debug the code
CDecVideoFilter::Receive(IMediaSample* pSample)
{
    ...
    sts = m_pDecoder->RunDecode(&mfxBS, pSurfaceOut);  
    ...
}

The value of the sts is -10 after seeking.
And then the program won't go into the Receive function

Does anyone know how to fix this problem?
Or I do something wrong?
Your assistance will be greatly appreciated. Thank you.


Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>