[Mplayer-cvslog] CVS: main/libvo vo_dga.c,1.58,1.59

Zoltan Ponekker pontscho at mplayerhq.hu
Wed Nov 6 22:08:55 CET 2002


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

Modified Files:
	vo_dga.c 
Log Message:
patch from Colin Leroy <colin at colino.net>

Index: vo_dga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dga.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- vo_dga.c	3 Nov 2002 15:14:36 -0000	1.58
+++ vo_dga.c	6 Nov 2002 21:08:52 -0000	1.59
@@ -262,7 +262,7 @@
  static int        vo_modecount;
 #endif
 
-#define MAX_NR_VIDEO_BUFFERS 3
+#define MAX_NR_VIDEO_BUFFERS 2
 
 #define CURRENT_VIDEO_BUFFER \
         (vo_dga_video_buffer[vo_dga_current_video_buffer])
@@ -424,7 +424,9 @@
 		XDGASetViewport(mDisplay, mScreen, 
 				0,
 				CURRENT_VIDEO_BUFFER.y, 
-				XDGAFlipRetrace);
+				XDGAFlipImmediate);
+//				XDGAFlipRetrace);
+//#error faszom
 #else
 		XF86DGASetViewPort(mDisplay, mScreen,
 				   0,
@@ -1059,6 +1061,7 @@
 	(mpi->width*(mpi->bpp/8)==(vo_dga_bytes_per_line+vo_dga_vp_skip)) ){
 	
 	mpi->planes[0] = CURRENT_VIDEO_BUFFER.data + vo_dga_vp_offset;
+//	printf("\rplanes=%p     \n",mpi->planes[0]);
 	mpi->stride[0] = vo_dga_bytes_per_line + vo_dga_vp_skip;
 	mpi->width=(vo_dga_bytes_per_line+vo_dga_vp_skip)/(mpi->bpp/8);
 	mpi->flags |= MP_IMGFLAG_DIRECT;




More information about the MPlayer-cvslog mailing list