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

Dirk Knop dknop at stud.uni-goettingen.de
Mon Aug 16 12:50:01 CEST 2004


Harghh schrieb:

> 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
> _______________________________________________
> XviD-devel mailing list
> XviD-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel
>
This seems to be an issue on your computer, depending on your vga card, 
overlay settings (is the card able to do an yuv2/yv12 overlay? play with 
the "force colourspace" option) or vga driver. Is dx9 properly installed 
(use start->run->dxdiag)?

Regards
Koepi


More information about the XviD-devel mailing list