[MPlayer-cvslog] CVS: main/libvo vo_gl.c,1.62,1.63

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sat Jan 8 18:58:58 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv7085

Modified Files:
	vo_gl.c 
Log Message:
set sub_bg_alpha only to 255 when using hardware OSD.


Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- vo_gl.c	31 Dec 2004 14:58:49 -0000	1.62
+++ vo_gl.c	8 Jan 2005 17:58:56 -0000	1.63
@@ -159,6 +159,7 @@
 	glFindFormat(format, &image_bytes, &gl_texfmt, &gl_format, &gl_type);
 	image_bytes = (image_bytes + 7) / 8;
 
+  if (use_osd)
   sub_bg_alpha = 255; // We need alpha = 255 for invisible part of the OSD
 	int_pause = 0;
 




More information about the MPlayer-cvslog mailing list