[Mplayer-cvslog] CVS: main/libvo vo_xvidix.c,1.27,1.28

Arpi of Ize arpi at mplayer.dev.hu
Sun Mar 24 22:22:19 CET 2002


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

Modified Files:
	vo_xvidix.c 
Log Message:
-fs aspect fix by KotH

Index: vo_xvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvidix.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- vo_xvidix.c	11 Mar 2002 09:24:09 -0000	1.27
+++ vo_xvidix.c	24 Mar 2002 21:22:16 -0000	1.28
@@ -80,6 +80,7 @@
     XTranslateCoordinates(mDisplay, vo_window, mRoot, 0, 0,
 	&drwcX, &drwcY, &mRoot);
 
+    aspect(&dwidth,&dheight,A_NOZOOM);
     if (!vo_fs)
 	mp_msg(MSGT_VO, MSGL_V, "[xvidix] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",
 	    drwcX, drwcY, drwX, drwY, drwWidth, drwHeight);
@@ -88,6 +89,7 @@
 #if X11_FULLSCREEN
     if (vo_fs)
     {
+        aspect(&dwidth,&dheight,A_ZOOM);
 	drwX = (vo_screenwidth - (dwidth > vo_screenwidth ? vo_screenwidth : dwidth)) / 2;
 	drwcX += drwX;
 	drwY = (vo_screenheight - (dheight > vo_screenheight ? vo_screenheight : dheight)) / 2;




More information about the MPlayer-cvslog mailing list