[FFmpeg-devel] [PATCH] Fix XvMC

Gwenole Beauchesne gbeauchesne
Sat Oct 10 17:17:59 CEST 2009


Hi,

This patch fixes a crash with XvMC... According to online bug reports,  
this affects all platforms (AMD, Intel, NVIDIA). XVMCCreateBlocks()  
may not allocate 16-byte aligned blocks so an SSE optimized  
clear_blocks() could crash on platforms not supporting MSSE. Besides,  
since the XvMC decode context initialization is a mixture of FFmpeg  
and player parts, we can't expect players to fix that. By chance, this  
generally is a driver limitation anyway. So a fix in FFmpeg is the  
better approach IMHO.

Another solution is to set xvmc_acceleration to 1, this doesn't make a  
real difference though my platform is recent enough.

Regards,
Gwenole.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.fix.xvmc.patch
Type: application/octet-stream
Size: 737 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091010/5394448a/attachment.obj>
-------------- next part --------------






More information about the ffmpeg-devel mailing list