Mercurial > mplayer.hg
diff libvo/vo_gl2.c @ 2278:54874c78af6b
aspect changes integrated .., please check performance and conformance
author | sven |
---|---|
date | Fri, 19 Oct 2001 10:51:04 +0000 |
parents | 558a9397c250 |
children | f8978836ef7f |
line wrap: on
line diff
--- a/libvo/vo_gl2.c Fri Oct 19 10:33:59 2001 +0000 +++ b/libvo/vo_gl2.c Fri Oct 19 10:51:04 2001 +0000 @@ -617,12 +617,18 @@ if (X_already_started) return -1; if(!vo_init()) return -1; + aspect_save_orig(width,height); + aspect_save_prescale(d_width,d_height); + aspect_save_screenres(vo_screenwidth,vo_screenheight); + + aspect(&d_width,&d_height,A_NOZOOM); + X_already_started++; if( flags&0x01 ) { - isFullscreen = GL_TRUE; - aspect(&d_width,&d_height,vo_screenwidth,vo_screenheight); + isFullscreen = GL_TRUE; + aspect(&d_width,&d_height,A_ZOOM); hint.x = 0; hint.y = 0; hint.width = vo_screenwidth;