[MPlayer-dev-eng] Re: MPlayer caption on VESA output

Tobias Diedrich td at sim.uni-hannover.de
Wed Mar 26 18:05:08 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.

I've found that annoying too, but so far hadn't bother to look at it.
The code seems like it is supposed to be only there if -v has been
specified, but someone (accidently?) changed it:

            clear_screen();	/* Clear screen for stupid BIOSes */
	    if(verbose>1) paintBkGnd();
	    {
	        int x;
	        x = (video_mode_info.XResolution/video_mode_info.XCharSize)/2-strlen(title)/2;
	        if(x < 0) x = 0;
	        vbeWriteString(x,0,7,title);
	    }

I guess this should rather be:

            clear_screen();	/* Clear screen for stupid BIOSes */
	    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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030326/079c036e/attachment.pgp>


More information about the MPlayer-dev-eng mailing list