[XviD-devel] DirectShow decoder bug in Compatibility renderer mode

Harghh harghh at free.fr
Mon Aug 16 12:02:45 CEST 2004


This is a follow up to the « How to get informations on a XVid bug ? » 
where i explained issues encountered with XviD DirectShow decoder filter 
with some detailed informations.

To put it in a nutshell : using the xvid decoder filer with the 
“compatibility renderer” option enabled make crash when hiding the video 
renderer window.

I tried with today (aug 16) CVS version and it doesn't solve the problem.

On my computer, depending if the “Compatibility renderer” option is 
enabled or disabled xvid decoder isn't used the same way :
Disabled :
- the filter graph is avi file -> avi splitter -> avi decompressor -> 
video window
- xvidvfw.dll is used and ICM_DECOMPRESS_* functions are used for decoding
- the bug doesn't appears

Enabled :
- the filter graph is avi file -> avi  splitter -> xvid mpeg-4 decoder -> 
video window
- xvidvfw.dll is not used, the directshow filter Transform() function is 
used for decoding
- the bug appears

Do you have the same behaviour on your computer ?
Does this mean that the DirectShow filter is used only in “Compatibility 
renderer” mode ?

Also, what does this compatibility mode means ?
I looked at the code, and all it does is using a VIDEOINFOHEADER instead 
of a  VIDEOINFOHEADER2 in CxvidDecoder::GetMediaType().
But what is the difference between them ?
Using VIDEOINFOHEADER2 looks like to fail and use the VFW dll instead, is 
this normal ?

Harghh


More information about the XviD-devel mailing list