[MPlayer-users] Re: MPlayer caption on VESA output

Tobias Diedrich ranma at gmx.at
Fri Mar 28 10:54:01 CET 2003


Daniel Barklon wrote:

> I am using vesa with MPlayer 0.90rc1 (no X).  Everything works great,
> except that there is "MPlayer" written in bright green letters, right
> above the image, centered on the screen.  Is there a way to suppress
> that?  It is really quite annoying.

Fixed in CVS, where it now should only show when -v is in the command
line.

If you don't want to compile from CVS, try this patch:

Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.89
diff -u -r1.89 vo_vesa.c
--- vo_vesa.c	21 Mar 2003 16:32:53 -0000	1.89
+++ vo_vesa.c	28 Mar 2003 10:07:17 -0000
@@ -985,11 +985,12 @@
 	else
 	{
             clear_screen();	/* Clear screen for stupid BIOSes */
-	    if(verbose>1) paintBkGnd();
+	    if(verbose>1)
 	    {
 	        int x;
 	        x = (video_mode_info.XResolution/video_mode_info.XCharSize)/2-strlen(title)/2;
 	        if(x < 0) x = 0;
+	        paintBkGnd();
 	        vbeWriteString(x,0,7,title);
 	    }
 	}

-- 
Tobias						PGP: http://9ac7e0bc.2ya.com
This mail is made of 100% recycled bits



More information about the MPlayer-users mailing list