[MPlayer-dev-eng] [PATCH] coloured stripes with -vo xvidix on MGA400

Peter Schüller peterschueller at telemed.de
Wed Mar 12 20:07:14 CET 2003


Hello,

when playing mpeg videos which width can't be divided by 32 (for example 720) 
I get diagonal coloured stripes over the picture with my MGA400 graphics 
card.

With the following patch they disappear:



Index: vidix/drivers/mga_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/mga_vid.c,v
retrieving revision 1.19
diff -u -r1.19 mga_vid.c
--- vidix/drivers/mga_vid.c	6 Nov 2002 23:54:29 -0000	1.19
+++ vidix/drivers/mga_vid.c	12 Mar 2003 19:14:14 -0000
@@ -721,7 +721,7 @@
     dh = config->dest.h;
     
     config->dest.pitch.y=32;
-    config->dest.pitch.u=config->dest.pitch.v=16;
+    config->dest.pitch.u=config->dest.pitch.v=32;
 
     if (mga_verbose) printf("[mga] Setting up a %dx%d-%dx%d video window (src 
%dx%d) format %X\n",
            dw, dh, x, y, sw, sh, config->fourcc);


-- 
Peter Schüller
peterschueller at telemed.de



More information about the MPlayer-dev-eng mailing list