[MPlayer-cvslog] CVS: main/libvo vo_gl.c,1.99,1.100
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sun Sep 25 16:02:05 CEST 2005
- Previous message: [MPlayer-cvslog] CVS: main/libvo vo_gl2.c,1.77,1.78
- Next message: [MPlayer-cvslog] CVS: main/libvo vo_gl.c, 1.100, 1.101 vo_gl2.c, 1.78, 1.79 gl_common.c, 1.24, 1.25 gl_common.h, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv26698/libvo
Modified Files:
vo_gl.c
Log Message:
Several bugfixes:
black OSD border with scaled-osd
draw only used parts of image (looks weird with equalizer controls otherwise)
clear borders when switching to fullscreen when using -nodouble
Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- vo_gl.c 14 Sep 2005 22:08:04 -0000 1.99
+++ vo_gl.c 25 Sep 2005 14:02:02 -0000 1.100
@@ -125,6 +125,8 @@
#endif
vo_osd_changed(OSDTYPE_OSD);
}
+ if (vo_fs && use_aspect && !vo_doublebuffering)
+ glClear(GL_COLOR_BUFFER_BIT);
}
static void texSize(int w, int h, int *texw, int *texh) {
@@ -434,7 +436,7 @@
#ifndef FAST_OSD
glGenTextures(1, &osdatex[osdtexCnt]);
BindTexture(gl_target, osdatex[osdtexCnt]);
- glCreateClearTex(gl_target, GL_ALPHA, scale_type, sx, sy, 0);
+ glCreateClearTex(gl_target, GL_ALPHA, scale_type, sx, sy, 255);
{
int i;
char *tmp = (char *)malloc(stride * h);
@@ -489,8 +491,8 @@
glColor3f(1,1,1);
if (image_format == IMGFMT_YV12)
glEnableYUVConversion(gl_target, use_yuv);
- glDrawTex(0, 0, texture_width, texture_height,
- 0, 0, texture_width, texture_height,
+ glDrawTex(0, 0, image_width, image_height,
+ 0, 0, image_width, image_height,
texture_width, texture_height,
use_rectangle == 1, image_format == IMGFMT_YV12);
if (image_format == IMGFMT_YV12)
- Previous message: [MPlayer-cvslog] CVS: main/libvo vo_gl2.c,1.77,1.78
- Next message: [MPlayer-cvslog] CVS: main/libvo vo_gl.c, 1.100, 1.101 vo_gl2.c, 1.78, 1.79 gl_common.c, 1.24, 1.25 gl_common.h, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list