[MPlayer-dev-eng] [PATCH] Mach64 vidix register corruption

Colin Leroy colin at colino.net
Mon Oct 21 23:45:49 CEST 2002


Hi,

I noticed that after having played a file with -vo xvidix, there was no
more image using -vo xv, until X was restarted.

This was due to a corruption of registers. Here's a patch that fixes it :
it saves regs just after getting video ram parameters, and restores them
at vixDestroy() time.
I saved and restored every of them, and didn't touched the code in
mach64_vid_stop_video() as video can be restarted after a stop (if i
understood everything).

Hope it's fine,
-- 
Colin
panic("CPU too expensive - making holiday in the ANDES!");
    2.2.19 linux/arch/mips/kernel/traps.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: reg_save.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021021/7e2fc4de/attachment.asc>


More information about the MPlayer-dev-eng mailing list