[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.72,1.73

Arpi of Ize arpi at mplayerhq.hu
Sun Apr 21 14:39:48 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv24280

Modified Files:
	vo_xv.c 
Log Message:
100l - fixed yuy2 -dr, reported by Nexus

Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- vo_xv.c	16 Apr 2002 17:41:29 -0000	1.72
+++ vo_xv.c	21 Apr 2002 12:39:45 -0000	1.73
@@ -737,7 +737,7 @@
 	   mpi->stride[1]=mpi->stride[2]=image_width/2;
        } else {
            mpi->planes[0]=xvimage[current_buf]->data;
-	   mpi->stride[0]=image_width;
+	   mpi->stride[0]=image_width*(mpi->bpp>>3);
        }
        mpi->flags|=MP_IMGFLAG_DIRECT;
 //	printf("mga: get_image() SUCCESS -> Direct Rendering ENABLED\n");




More information about the MPlayer-cvslog mailing list