[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.81,1.82

Arpi of Ize arpi at mplayerhq.hu
Mon Dec 30 00:35:33 CET 2002


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

Modified Files:
	vo_vesa.c 
Log Message:
Juste a trivial patch for vesa output. The screen were cleaned at init
for "stupid BIOSes", but just the first buffer. So when using -double
option I got flicker with such a stupid BIOS...
patch by Aurelien JACOBS <aurel at gnuage.org>


Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- vo_vesa.c	11 Nov 2002 15:20:26 -0000	1.81
+++ vo_vesa.c	29 Dec 2002 23:35:30 -0000	1.82
@@ -965,18 +965,18 @@
 	  printf("vo_vesa: VESA initialization complete\n");
 	  fflush(stdout);
 	}
-	/* Clear screen for stupid BIOSes */
-	clear_screen();
 	if(HAS_DGA() && vo_doublebuffering)
 	{
 	    for(i=0;i<MAX_BUFFERS;i++)
 	    {
 		win.ptr = dga_buffer = video_base + multi_buff[i];
+                clear_screen();	/* Clear screen for stupid BIOSes */
 		if(verbose>1) paintBkGnd();
 	    }
 	}
 	else
 	{
+            clear_screen();	/* Clear screen for stupid BIOSes */
 	    if(verbose>1) paintBkGnd();
 	    {
 	        int x;




More information about the MPlayer-cvslog mailing list