[Mplayer-cvslog] CVS: main/libvo vo_xmga.c,1.83,1.84

Attila Kinali CVS attila at mplayerhq.hu
Sun Aug 31 14:57:31 CEST 2003


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

Modified Files:
	vo_xmga.c 
Log Message:
while we are at it: geometry support for xmga


Index: vo_xmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xmga.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- vo_xmga.c	9 Feb 2003 20:18:23 -0000	1.83
+++ vo_xmga.c	31 Aug 2003 12:57:27 -0000	1.84
@@ -125,6 +125,7 @@
 
  vo_dx=( vo_screenwidth - d_width ) / 2;
  vo_dy=( vo_screenheight - d_height ) / 2;
+ geometry(&vo_dx, &vo_dy, &d_width, &d_height, vo_screenwidth, vo_screenheight);
  vo_dwidth=d_width; vo_dheight=d_height;
  vo_mouse_autohide=1;
 
@@ -139,7 +140,7 @@
 
   inited=1;
 
-  aspect(&vo_dwidth,&vo_dheight,A_NOZOOM);
+  aspect(&d_width,&d_height,A_NOZOOM);
 
 #ifdef HAVE_NEW_GUI
   if(use_gui)



More information about the MPlayer-cvslog mailing list