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.