[XviD-devel] Seeking the DirectShow Filter

Helge Klein hklein at como.com
Fri Apr 25 10:49:30 CEST 2003


Hi,
I had problems seeking in pause modus with the xvid transform filter. Now I
changed something in the transform function and it runs well. All I have
done is adding following lines to CXvidDecoder.cpp:

HRESULT CXvidDecoder::Transform(IMediaSample *pIn, IMediaSample *pOut)
{
.......

     if (pIn->IsPreroll() == S_OK) /* don't deliver in Receive() */
        return S_FALSE;

     return (stats.notify == XVID_DEC_VOP) ? S_OK : S_FALSE;
}

regards
Helge



More information about the XviD-devel mailing list