[Mplayer-cvslog] CVS: main/libvo vo_gl2.c,1.4,1.5

Sven Goethel sven at mplayer.dev.hu
Fri Oct 19 12:51:07 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv15721/main/libvo

Modified Files:
	vo_gl2.c 
Log Message:
aspect changes integrated .., please check performance and conformance

Index: vo_gl2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl2.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vo_gl2.c	19 Oct 2001 10:09:29 -0000	1.4
+++ vo_gl2.c	19 Oct 2001 10:51:04 -0000	1.5
@@ -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;




More information about the MPlayer-cvslog mailing list